projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b71b30a
)
netfilter: netns ebtables: br_nf_pre_routing_finish() fixup
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 4 Nov 2008 13:31:29 +0000
(14:31 +0100)
committer
Patrick McHardy
<kaber@trash.net>
Tue, 4 Nov 2008 13:31:29 +0000
(14:31 +0100)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/bridge/br_netfilter.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_netfilter.c
b/net/bridge/br_netfilter.c
index db6176d96e7140253ce092567376677124b902cc..bf9d6af9628aee6eb895eb94b1aca3673ccc0754 100644
(file)
--- a/
net/bridge/br_netfilter.c
+++ b/
net/bridge/br_netfilter.c
@@
-357,7
+357,7
@@
static int br_nf_pre_routing_finish(struct sk_buff *skb)
if (err != -EHOSTUNREACH || !in_dev || IN_DEV_FORWARD(in_dev))
goto free_skb;
- if (!ip_route_output_key(
&init_net
, &rt, &fl)) {
+ if (!ip_route_output_key(
dev_net(dev)
, &rt, &fl)) {
/* - Bridged-and-DNAT'ed traffic doesn't
* require ip_forwarding. */
if (((struct dst_entry *)rt)->dev == dev) {