diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2015-10-28 00:40:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-01 20:01:28 +0300 |
commit | 405c92f7a5417274419192ad134d6dc71aedaaa4 (patch) | |
tree | f8bdf8d76e562a59e793c6959d37ede634cd0a68 /samples | |
parent | 682b1a9d3f9686ee43fd66b48605daff00522157 (diff) | |
download | linux-405c92f7a5417274419192ad134d6dc71aedaaa4.tar.xz |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions