diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-08 09:35:03 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 09:35:03 (GMT) |
commit | b21f89019399ff75d9c239010e38b840eb6e01e7 (patch) | |
tree | f4b2ef9f75e2330b983ba27515a5687f8e923e24 /init/main.c | |
parent | 400dad39d1c33fe797e47326d87a3f54d0ac5181 (diff) | |
download | linux-b21f89019399ff75d9c239010e38b840eb6e01e7.tar.xz |
netfilter: netns: fix {ip,6}_route_me_harder() in netns
Take netns from skb->dst->dev. It should be safe because, they are called
from LOCAL_OUT hook where dst is valid (though, I'm not exactly sure about
IPVS and queueing packets to userspace).
[Patrick: its safe everywhere since they already expect skb->dst to be set]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions