summaryrefslogtreecommitdiff
path: root/net/sched/act_ife.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-06-18 08:03:36 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-23 18:52:00 +0300
commit962fcef33b03395051367181a0549d29d109d9a4 (patch)
tree69f4d8c0f39720c66ad9088b9bbaa3e7439cfdc1 /net/sched/act_ife.c
parentacd43fe85b2d1dbad55ce211b8817e6d6687246f (diff)
downloadlinux-962fcef33b03395051367181a0549d29d109d9a4.tar.xz
esp: Fix ESN generation under UDP encapsulation
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>
Diffstat (limited to 'net/sched/act_ife.c')
0 files changed, 0 insertions, 0 deletions