]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netfilter: netns nf_conntrack: pass netns pointer to nf_conntrack_in()
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 8 Oct 2008 09:35:04 +0000 (11:35 +0200)
committerPatrick McHardy <kaber@trash.net>
Wed, 8 Oct 2008 09:35:04 +0000 (11:35 +0200)
commita702a65fc1376fc1f6757ec2a6960348af3f1876
tree4d44e147a76b35228a4535c9cc446c1d1bf0dddd
parent63c9a26264be108b52de087724673f8664570e34
netfilter: netns nf_conntrack: pass netns pointer to nf_conntrack_in()

It's deducible from skb->dev or skb->dst->dev, but we know netns at
the moment of call, so pass it down and use for finding and creating
conntracks.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack_core.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/netfilter/nf_conntrack_core.c