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)
commita0e5ef53aac8e5049f9344857d8ec5237d31e58b
tree30aeaea34b3097a0de2d1be95337b7cd79b1f3cc
parentb7eea4545ea775df957460f58eb56085a8892856
xfrm: Fix installation of AH IPsec SAs

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

Fixes: ea9884b3acf3 ("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