ip6_output: do skb ufo init for peeked non ufo skb as well
authorJiri Pirko <[email protected]>
Sat, 19 Oct 2013 10:29:16 +0000 (12:29 +0200)
committerDavid S. Miller <[email protected]>
Sat, 19 Oct 2013 23:20:52 +0000 (19:20 -0400)
commitc547dbf55d5f8cf615ccc0e7265e98db27d3fb8b
tree90ed7773f5f042db138903f2dbbef7afaf6c2af4
parente36d3ff91130002c7c2d1d6a55556991da1daecc
ip6_output: do skb ufo init for peeked non ufo skb as well

Now, if user application does:
sendto len<mtu flag MSG_MORE
sendto len>mtu flag 0
The skb is not treated as fragmented one because it is not initialized
that way. So move the initialization to fix this.

introduced by:
commit e89e9cf539a28df7d0eb1d0a545368e9920b34ac "[IPv4/IPv6]: UFO Scatter-gather approach"

Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/ip6_output.c