projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f75f4
)
netfilter: ip6table_mangle: don't reroute in LOCAL_IN
author
Patrick McHardy
<kaber@trash.net>
Tue, 24 Jun 2008 20:30:45 +0000
(13:30 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 Jun 2008 20:30:45 +0000
(13:30 -0700)
Rerouting should only happen in LOCAL_OUT, in INPUT its useless
since the packet has already chosen its final destination.
Noticed by Alexey Dobriyan <adobriyan@gmail.com>.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/ip6table_mangle.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/netfilter/ip6table_mangle.c
b/net/ipv6/netfilter/ip6table_mangle.c
index 27a5e8b48d93a27fababd4d79fb998903d039422..f405cea21a8b89687558c83deb094d7c1940631e 100644
(file)
--- a/
net/ipv6/netfilter/ip6table_mangle.c
+++ b/
net/ipv6/netfilter/ip6table_mangle.c
@@
-129,7
+129,7
@@
static struct nf_hook_ops ip6t_ops[] __read_mostly = {
.priority = NF_IP6_PRI_MANGLE,
},
{
- .hook = ip6t_
local
_hook,
+ .hook = ip6t_
route
_hook,
.owner = THIS_MODULE,
.pf = PF_INET6,
.hooknum = NF_INET_LOCAL_IN,