diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-10 03:59:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-11 15:49:13 +0300 |
commit | cb3e9864cdbe35ff6378966660edbcbac955fe17 (patch) | |
tree | b73a6047169b6808010589b86a82e337946611ef /tools | |
parent | b0e380b5d4275299adf43e249f18309331b6f54f (diff) | |
download | linux-cb3e9864cdbe35ff6378966660edbcbac955fe17.tar.xz |
ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
The total cork length created by ip6_append_data includes extension
headers, so we must exclude them when comparing them against the
IPV6_CHECKSUM offset which does not include extension headers.
Reported-by: Kyle Zeng <zengyhkyle@gmail.com>
Fixes: 357b40a18b04 ("[IPV6]: IPV6_CHECKSUM socket option can corrupt kernel memory")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions