X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.10%2F668-fix-ipv6-throw-routes.patch;fp=target%2Flinux%2Fgeneric%2Fpatches-3.10%2F668-fix-ipv6-throw-routes.patch;h=0000000000000000000000000000000000000000;hp=f21e6f4b663c49bc5b08f39f7823452e6aac5334;hb=ab80ca56fa4e990903f344b90d540fafef0fbfce;hpb=100e4d9a4e20f6bb43c91554b8bc79437679a279 diff --git a/target/linux/generic/patches-3.10/668-fix-ipv6-throw-routes.patch b/target/linux/generic/patches-3.10/668-fix-ipv6-throw-routes.patch deleted file mode 100644 index f21e6f4b66..0000000000 --- a/target/linux/generic/patches-3.10/668-fix-ipv6-throw-routes.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9cd600244515bd4540898411ab781a97f0cc387f Mon Sep 17 00:00:00 2001 -From: Steven Barth -Date: Thu, 19 Mar 2015 11:54:50 +0100 -Subject: [PATCH] ipv6: fix backtracking for throw routes - -for throw routes to trigger evaluation of other policy rules -EAGAIN needs to be propagated up to fib_rules_lookup -similar to how its done for IPv4 - -A simple testcase for verification is: - -ip -6 rule add lookup 33333 priority 33333 -ip -6 route add throw 2001:db8::1 -ip -6 route add 2001:db8::1 via fe80::1 dev wlan0 table 33333 -ip route get 2001:db8::1 - -Signed-off-by: Steven Barth ---- - net/ipv6/fib6_rules.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c -index b4d5e1d..27ca796 100644 ---- a/net/ipv6/fib6_rules.c -+++ b/net/ipv6/fib6_rules.c -@@ -104,6 +104,7 @@ static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, - goto again; - flp6->saddr = saddr; - } -+ err = rt->dst.error; - goto out; - } - again: --- -2.1.4 -