aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_mode_tunnel.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2018-02-28 09:23:19 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2018-03-01 08:14:50 +0100
commitb8b549eec8187ac1b12075d69a2d84d89b5e811a (patch)
treec5acf45f7b62b6504b87f2332e2639f7fb678b49 /net/ipv4/xfrm4_mode_tunnel.c
parentxfrm: Fix infinite loop in xfrm_get_dst_nexthop with transport mode. (diff)
downloadlinux-dev-b8b549eec8187ac1b12075d69a2d84d89b5e811a.tar.xz
linux-dev-b8b549eec8187ac1b12075d69a2d84d89b5e811a.zip
xfrm: Fix ESN sequence number handling for IPsec GSO packets.
When IPsec offloading was introduced, we accidentally incremented the sequence number counter on the xfrm_state by one packet too much in the ESN case. This leads to a sequence number gap of one packet after each GSO packet. Fix this by setting the sequence number to the correct value. Fixes: d7dbefc45cf5 ("xfrm: Add xfrm_replay_overflow functions for offloading") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/xfrm4_mode_tunnel.c')
0 files changed, 0 insertions, 0 deletions