]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50de273c0b241b91247fa5dfcb4fb2424f47d1d6
tree90ed7773f5f042db138903f2dbbef7afaf6c2af4
parent51ecdb8b0267a377f48c79e8784d973affd76f68
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 33655dd552ec035594fe31bc57199012d64824fb "[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