diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-10-09 14:44:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-12 22:44:17 -0400 |
commit | b72775977c39dcd380777ff5ea8041fdf67ee382 (patch) | |
tree | a1f5f6d66b9637f258fdd41ebc88f303d1af5ee0 /net/openvswitch | |
parent | 19bcf9f203c82c2028f5a0881b1f0690e3207190 (diff) |
ipv6: Pass struct net into nf_ct_frag6_gather
The function nf_ct_frag6_gather is called on both the input and the
output paths of the networking stack. In particular ipv6_defrag which
calls nf_ct_frag6_gather is called from both the the PRE_ROUTING chain
on input and the LOCAL_OUT chain on output.
The addition of a net parameter makes it explicit which network
namespace the packets are being reassembled in, and removes the need
for nf_ct_frag6_gather to guess.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/conntrack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c index cb76076a7a42..ad614267cc2a 100644 --- a/net/openvswitch/conntrack.c +++ b/net/openvswitch/conntrack.c | |||
@@ -315,7 +315,7 @@ static int handle_fragments(struct net *net, struct sw_flow_key *key, | |||
315 | struct sk_buff *reasm; | 315 | struct sk_buff *reasm; |
316 | 316 | ||
317 | memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm)); | 317 | memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm)); |
318 | reasm = nf_ct_frag6_gather(skb, user); | 318 | reasm = nf_ct_frag6_gather(net, skb, user); |
319 | if (!reasm) | 319 | if (!reasm) |
320 | return -EINPROGRESS; | 320 | return -EINPROGRESS; |
321 | 321 | ||