xfrm: Force SA to be lookup again if SA in acquire state
authorFan Du <fan.du@windriver.com>
Mon, 23 Sep 2013 09:18:25 +0000 (17:18 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 1 Oct 2013 08:09:33 +0000 (10:09 +0200)
commit6f1156383a419a4d19bdc196ffa8d4dbe2f01b36
tree873160d46032eea18d82e8ae987353341a14d9be
parentb32418705107265dfca5edfe2b547643e53a732e
xfrm: Force SA to be lookup again if SA in acquire state

If SA is in the process of acquiring, which indicates this SA is more
promising and precise than the fall back option, i.e. using wild card
source address for searching less suitable SA.

So, here bail out, and try again.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_state.c