]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Fix installation of AH IPsec SAs
authorTobias Brunner <tobias@strongswan.org>
Thu, 26 Jun 2014 13:12:45 +0000 (15:12 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 30 Jun 2014 05:42:12 +0000 (07:42 +0200)
commita1e1887de81f7bf9b3ea1b3867958fab3a42e9ea
tree30aeaea34b3097a0de2d1be95337b7cd79b1f3cc
parent1b7fe354127425716e5e1001bcd477ecc4fd8fcf
xfrm: Fix installation of AH IPsec SAs

The SPI check introduced in 696c35db68a3dcfd3ca5909b58f02b0710b5613b
was intended for IPComp SAs but actually prevented AH SAs from getting
installed (depending on the SPI).

Fixes: 696c35db68a3 ("xfrm: check user specified spi for IPComp")
Cc: Fan Du <fan.du@windriver.com>
Signed-off-by: Tobias Brunner <tobias@strongswan.org>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_user.c