Home
last modified time | relevance | path

Searched hist:"405 c92f7a5417274419192ad134d6dc71aedaaa4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Dip6_output.cdiff 405c92f7a5417274419192ad134d6dc71aedaaa4 Tue Oct 27 16:40:42 CDT 2015 Hannes Frederic Sowa <hannes@stressinduktion.org> ipv6: add defensive check for CHECKSUM_PARTIAL skbs in ip_fragment

CHECKSUM_PARTIAL skbs should never arrive in ip_fragment. If we get one
of those warn about them once and handle them gracefully by recalculating
the checksum.

Fixes: commit 32dce968dd987 ("ipv6: Allow for partial checksums on non-ufo packets")
See-also: commit 72e843bb09d45 ("ipv6: ip6_fragment() should check CHECKSUM_PARTIAL")
Cc: Eric Dumazet <edumazet@google.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Benjamin Coddington <bcodding@redhat.com>
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>