ip6_output: do skb ufo init for peeked non ufo skb as well
authorJiri Pirko <jiri@resnulli.us>
Sat, 19 Oct 2013 10:29:16 +0000 (12:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
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 <jiri@resnulli.us>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c