]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Remove ancient sleeping when the SA is in acquire state
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 27 Aug 2013 11:43:30 +0000 (13:43 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 6 Dec 2013 06:24:31 +0000 (07:24 +0100)
commitbd6ee6d290513844c568e60d75f270bed8b0884a
treebb78d47430f22c24030375aeb2b358d8e38ddd18
parent6e88ae692c21602d3cdb772bdd1fc71c24a60009
xfrm: Remove ancient sleeping when the SA is in acquire state

We now queue packets to the policy if the states are not yet resolved,
this replaces the ancient sleeping code. Also the sleeping can cause
indefinite task hangs if the needed state does not get resolved.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/netns/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c