aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-04-07 21:29:26 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-04-07 21:29:26 +0000
commit7a9fe56452dd544ec5884af784bfd7f1c3bbc45a (patch)
tree30d7917e78abd2dbf017e7e6436e884dcf097c68 /target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch
parentbe2d60465d587504618f5e81ee80e21849e09b5c (diff)
downloadupstream-7a9fe56452dd544ec5884af784bfd7f1c3bbc45a.tar.gz
upstream-7a9fe56452dd544ec5884af784bfd7f1c3bbc45a.tar.bz2
upstream-7a9fe56452dd544ec5884af784bfd7f1c3bbc45a.zip
generic/3.18: upgrade to 3.18.11
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45303
Diffstat (limited to 'target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch')
-rw-r--r--target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch b/target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch
deleted file mode 100644
index 283ffce911..0000000000
--- a/target/linux/generic/patches-3.18/668-fix-ipv6-throw-routes.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 9cd600244515bd4540898411ab781a97f0cc387f Mon Sep 17 00:00:00 2001
-From: Steven Barth <steven@midlink.org>
-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 <cyrus@openwrt.org>
----
- net/ipv6/fib6_rules.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/net/ipv6/fib6_rules.c
-+++ b/net/ipv6/fib6_rules.c
-@@ -104,6 +104,7 @@ static int fib6_rule_action(struct fib_r
- goto again;
- flp6->saddr = saddr;
- }
-+ err = rt->dst.error;
- goto out;
- }
- again: