Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84541cc1 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Patrick McHardy
Browse files

netfilter: netns nf_conntrack: H323 conntracking in netns

parent a5c3a800
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1210,6 +1210,7 @@ static struct nf_conntrack_expect *find_expect(struct nf_conn *ct,
					       union nf_inet_addr *addr,
					       __be16 port)
{
	struct net *net = nf_ct_net(ct);
	struct nf_conntrack_expect *exp;
	struct nf_conntrack_tuple tuple;

@@ -1219,7 +1220,7 @@ static struct nf_conntrack_expect *find_expect(struct nf_conn *ct,
	tuple.dst.u.tcp.port = port;
	tuple.dst.protonum = IPPROTO_TCP;

	exp = __nf_ct_expect_find(&init_net, &tuple);
	exp = __nf_ct_expect_find(net, &tuple);
	if (exp && exp->master == ct)
		return exp;
	return NULL;