netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/4] net: clean up interactions of CHECKSUM_PARTIAL and fragmentation
@ 2015-10-27 15:02 Hannes Frederic Sowa
  2015-10-27 15:02 ` [PATCH net v2 1/4] ipv4: no CHECKSUM_PARTIAL on MSG_MORE corked sockets Hannes Frederic Sowa
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Hannes Frederic Sowa @ 2015-10-27 15:02 UTC (permalink / raw)
  To: netdev; +Cc: edumazet, vyasevich, bcodding, tom, Hannes Frederic Sowa

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.

Thanks!

Hannes Frederic Sowa (4):
  ipv4: no CHECKSUM_PARTIAL on MSG_MORE corked sockets
  ipv4: add defensive check for CHECKSUM_PARTIAL skbs in ip_fragment
  ipv6: no CHECKSUM_PARTIAL on MSG_MORE corked sockets
  ipv6: add defensive check for CHECKSUM_PARTIAL skbs in ip_fragment

 net/ipv4/ip_output.c  |  9 ++++--
 net/ipv6/ip6_output.c | 78 ++++++++++++++++++++++++---------------------------
 2 files changed, 43 insertions(+), 44 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-10-28  0:31 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27 15:02 [PATCH net v2 0/4] net: clean up interactions of CHECKSUM_PARTIAL and fragmentation Hannes Frederic Sowa
2015-10-27 15:02 ` [PATCH net v2 1/4] ipv4: no CHECKSUM_PARTIAL on MSG_MORE corked sockets Hannes Frederic Sowa
2015-10-27 16:04   ` Tom Herbert
2015-10-27 16:34     ` Hannes Frederic Sowa
2015-10-27 16:41       ` Tom Herbert
2015-10-27 15:02 ` [PATCH net v2 2/4] ipv4: add defensive check for CHECKSUM_PARTIAL skbs in ip_fragment Hannes Frederic Sowa
2015-10-27 16:06   ` Tom Herbert
2015-10-27 18:30     ` Hannes Frederic Sowa
2015-10-27 18:46   ` Tom Herbert
2015-10-27 19:01   ` Sergei Shtylyov
2015-10-27 19:15     ` Hannes Frederic Sowa
2015-10-27 15:02 ` [PATCH net v2 3/4] ipv6: no CHECKSUM_PARTIAL on MSG_MORE corked sockets Hannes Frederic Sowa
2015-10-27 16:36   ` Tom Herbert
2015-10-27 16:44     ` Hannes Frederic Sowa
2015-10-27 17:32       ` Tom Herbert
2015-10-27 18:29         ` Hannes Frederic Sowa
2015-10-27 18:37           ` Tom Herbert
2015-10-27 19:19             ` Hannes Frederic Sowa
2015-10-27 21:42               ` Hannes Frederic Sowa
2015-10-27 22:03                 ` Tom Herbert
2015-10-28  0:12                   ` Hannes Frederic Sowa
2015-10-28  0:31                     ` Tom Herbert
2015-10-27 15:02 ` [PATCH net v2 4/4] ipv6: add defensive check for CHECKSUM_PARTIAL skbs in ip_fragment Hannes Frederic Sowa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).