aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2020-08-13 16:24:04 +0200
committerSteffen Klassert <[email protected]>2020-08-17 15:58:04 +0200
commit4eb2e13415757a2bce5bb0d580d22bbeef1f5346 (patch)
treeb1a3352a3ecb390bc2a5a172c4c3eeec4c92ffea /lib/test_overflow.c
parent61ee4137b5744d9c555cd4674aae353a45f9cd2e (diff)
espintcp: restore IP CB before handing the packet to xfrm
Xiumei reported a bug with espintcp over IPv6 in transport mode, because xfrm6_transport_finish expects to find IP6CB data (struct inet6_skb_cb). Currently, espintcp zeroes the CB, but the relevant part is actually preserved by previous layers (first set up by tcp, then strparser only zeroes a small part of tcp_skb_tb), so we can just relocate it to the start of skb->cb. Fixes: e27cca96cd68 ("xfrm: add espintcp (RFC 8229)") Reported-by: Xiumei Mu <[email protected]> Signed-off-by: Sabrina Dubroca <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions