]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Paritially checksum full MTU frames
authorVlad Yasevich <vyasevich@gmail.com>
Mon, 30 Jan 2017 03:52:53 +0000 (22:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 20:51:12 +0000 (15:51 -0500)
commitdce47b7bf211a17a5c7a71d345d406dbcc168a8d
tree84d46ed640f648af30847b308ccc88a467dba2df
parent4c9a94bb77ccc3d6a55b78f9ff6861015e222a2c
ipv6: Paritially checksum full MTU frames

IPv6 will mark data that is smaller that mtu - headersize as
CHECKSUM_PARTIAL, but if the data will completely fill the mtu,
the packet checksum will be computed in software instead.
Extend the conditional to include the data that fills the mtu
as well.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c