OSDN Git Service

Merge branch 'csum_partial_frags'
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Nov 2015 17:01:37 +0000 (12:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Nov 2015 17:01:37 +0000 (12:01 -0500)
Hannes Frederic Sowa says:

====================
net: clean up interactions of CHECKSUM_PARTIAL and fragmentation

This series fixes wrong checksums on the wire for IPv4 and IPv6. Large
send buffers and especially NFS lead to wrong checksums in both IPv4
and IPv6.

CHECKSUM_PARTIAL skbs should not receive the respective fragmentations
functions, so we add WARN_ON_ONCE to those functions to fix up those as
soon as they get reported.

Changelog:
v2: added v4 checks
v3: removed WARN_ON_ONCES (advice by Tom Herbert)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge