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)
commit2b89ed65a6f201a6a4f0450ad289aa4bf491608c
tree84d46ed640f648af30847b308ccc88a467dba2df
parentd585df1c5ccf995fcee910705ad7a9cdd11d4152
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