Commit 51969d67 authored by Christian Langrock's avatar Christian Langrock Committed by Greg Kroah-Hartman
Browse files

xfrm: replay: Fix ESN wrap around for GSO



[ Upstream commit 4b549ccc ]

When using GSO it can happen that the wrong seq_hi is used for the last
packets before the wrap around. This can lead to double usage of a
sequence number. To avoid this, we should serialize this last GSO
packet.

Fixes: d7dbefc4 ("xfrm: Add xfrm_replay_overflow functions for offloading")
Co-developed-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarChristian Langrock <christian.langrock@secunet.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 497653f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment