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: 357b40a1 ("[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>
Loading
-
mentioned in commit f487d636
-
mentioned in commit 3998dba0
-
mentioned in commit f9b8314c
-
mentioned in commit clo/qsdk/oss/kernel/linux-msm@35ed8ba4
Please register or sign in to comment