diff options
| author | 2023-01-10 08:59:06 +0800 | |
|---|---|---|
| committer | 2023-01-11 12:49:13 +0000 | |
| commit | cb3e9864cdbe35ff6378966660edbcbac955fe17 (patch) | |
| tree | b73a6047169b6808010589b86a82e337946611ef /security/integrity/git:/ssh:/git@git.zx2c4.com | |
| parent | net: lan966x: check for ptp to be enabled in lan966x_ptp_deinit() (diff) | |
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 'security/integrity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
