Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: netns nf_conntrack: SIP conntracking in netns

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

authored by

Alexey Dobriyan and committed by
Patrick McHardy
a5c3a800 08f6547d

+2 -1
+2 -1
net/netfilter/nf_conntrack_sip.c
··· 736 736 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; 737 737 enum ip_conntrack_info ctinfo; 738 738 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); 739 + struct net *net = nf_ct_net(ct); 739 740 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); 740 741 union nf_inet_addr *saddr; 741 742 struct nf_conntrack_tuple tuple; ··· 776 775 777 776 rcu_read_lock(); 778 777 do { 779 - exp = __nf_ct_expect_find(&init_net, &tuple); 778 + exp = __nf_ct_expect_find(net, &tuple); 780 779 781 780 if (!exp || exp->master == ct || 782 781 nfct_help(exp->master)->helper != nfct_help(ct)->helper ||