]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_output: fragment outgoing reassembled skb properly
authorJiri Pirko <jiri@resnulli.us>
Wed, 6 Nov 2013 16:52:19 +0000 (17:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2013 05:19:35 +0000 (00:19 -0500)
commit8dadb5549bf4c9dee9ec941856af28cbeb89c514
tree34a0cfaafe05c9a8d769d22b6cc8269121228ec7
parent7fe0a666aadd42ff156867c8819aedce73c1ec1d
ip6_output: fragment outgoing reassembled skb properly

If reassembled packet would fit into outdev MTU, it is not fragmented
according the original frag size and it is send as single big packet.

The second case is if skb is gso. In that case fragmentation does not happen
according to the original frag size.

This patch fixes these.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c