summaryrefslogtreecommitdiffstats
path: root/include/net/netns/xfrm.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2013-08-27 13:43:30 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2013-12-06 07:24:31 +0100
commit5b8ef3415a21f173ab115e90ec92c071a03f22d7 (patch)
treebb78d47430f22c24030375aeb2b358d8e38ddd18 /include/net/netns/xfrm.h
parent283bc9f35bbbcb0e9ab4e6d2427da7f9f710d52d (diff)
downloadop-kernel-dev-5b8ef3415a21f173ab115e90ec92c071a03f22d7.zip
op-kernel-dev-5b8ef3415a21f173ab115e90ec92c071a03f22d7.tar.gz
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>
Diffstat (limited to 'include/net/netns/xfrm.h')
-rw-r--r--include/net/netns/xfrm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h
index ea28404..1006a26 100644
--- a/include/net/netns/xfrm.h
+++ b/include/net/netns/xfrm.h
@@ -33,8 +33,6 @@ struct netns_xfrm {
struct hlist_head state_gc_list;
struct work_struct state_gc_work;
- wait_queue_head_t km_waitq;
-
struct list_head policy_all;
struct hlist_head *policy_byidx;
unsigned int policy_idx_hmask;
OpenPOWER on IntegriCloud