Steffen Klassert 5877f41cf8 xfrm: Fix ESN sequence number handling for IPsec GSO packets.
[ Upstream commit b8b549eec8187ac1b12075d69a2d84d89b5e811a ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:52:08 +02:00
..
2018-05-16 10:10:29 +02:00
2018-05-19 10:20:23 +02:00
2018-05-30 07:52:06 +02:00
2018-05-19 10:20:23 +02:00
2018-05-30 07:51:57 +02:00
2018-05-19 10:20:26 +02:00
2018-05-30 07:52:05 +02:00
2018-05-30 07:51:57 +02:00
2018-02-22 15:42:23 +01:00