linux-next: manual merge of the net-next tree with the ipsec tree
Subsystems (3)
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
net/ipv6/xfrm6_output.c
between commit:
93efac3f2e03 ("ipv6: Fix IPsec pre-encap fragmentation check")
from the ipsec tree and commit:
7d8c6e391575 ("ipv6: Pass struct net through ip6_fragment")
from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary (no action is required).
Signature · 24 lines
Cheers, Stephen Rothwell [email protected] diff --cc net/ipv6/xfrm6_output.c index be033f22a3f3,4cefda009f53..000000000000 --- a/net/ipv6/xfrm6_output.c +++ b/net/ipv6/xfrm6_output.c @@@ -163,11 -164,12 +170,11 @@@ static int __xfrm6_output(struct net *n return -EMSGSIZE; } - if (x->props.mode == XFRM_MODE_TUNNEL && - ((skb->len > mtu && !skb_is_gso(skb)) || - dst_allfrag(skb_dst(skb)))) { + if (toobig || dst_allfrag(skb_dst(skb))) - return ip6_fragment(sk, skb, - x->outer_mode->afinfo->output_finish); + return ip6_fragment(net, sk, skb, + __xfrm6_output_finish); - } + +skip_frag: return x->outer_mode->afinfo->output_finish(sk, skb); }