]> git.baikalelectronics.ru Git - kernel.git/commit
esp4: Fix integrity verification when ESN are used
authorTobias Brunner <tobias@strongswan.org>
Tue, 29 Nov 2016 16:05:20 +0000 (17:05 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 30 Nov 2016 10:09:39 +0000 (11:09 +0100)
commitb9e26b9c086e2a1f065ced2a95860371b226380c
treec448c1d5cb2ca041c704b0099880795d4a6409e6
parenteaf3e0b43f10e64209694e57559cc065f68b9a7f
esp4: Fix integrity verification when ESN are used

When handling inbound packets, the two halves of the sequence number
stored on the skb are already in network order.

Fixes: 6eb6b9db1248 ("esp4: Switch to new AEAD interface")
Signed-off-by: Tobias Brunner <tobias@strongswan.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/esp4.c