]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/xfrm/xfrm_state.c
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)
commit5b8ef3415a21f173ab115e90ec92c071a03f22d7
treebb78d47430f22c24030375aeb2b358d8e38ddd18
parent283bc9f35bbbcb0e9ab4e6d2427da7f9f710d52d
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