summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-06-18 08:03:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-11 19:31:11 +0300
commitda7da39bdf3193188bad098c90427eac5210de13 (patch)
tree2d8dd8269df282e013b7877105e7d32a1a8ef603 /net/sched
parent9d6814d7aecf58a2a91d5992b678568b07b62ad7 (diff)
downloadlinux-da7da39bdf3193188bad098c90427eac5210de13.tar.xz
esp: Fix ESN generation under UDP encapsulation
[ Upstream commit 962fcef33b03395051367181a0549d29d109d9a4 ] Blair Steven noticed that ESN in conjunction with UDP encapsulation is broken because we set the temporary ESP header to the wrong spot. This patch fixes this by first of all using the right spot, i.e., 4 bytes off the real ESP header, and then saving this information so that after encryption we can restore it properly. Fixes: 7021b2e1cddd ("esp4: Switch to new AEAD interface") Reported-by: Blair Steven <Blair.Steven@alliedtelesis.co.nz> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions