aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/geneve.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-01-02 21:26:02 -0500
committerDavid S. Miller <davem@davemloft.net>2015-01-04 22:21:33 -0500
commit61f3cade763dca46127146a52d829e30b8f48921 (patch)
treee0d771d77f6015aef6e4a716d8ec89eacdcdb4ee /include/net/geneve.h
parent7beceebf5b9d14e333ab6025a6feccdc8e765225 (diff)
geneve: Remove workqueue.
The work queue is used only to free the UDP socket upon destruction. This is not necessary with Geneve and generally makes the code more difficult to reason about. It also introduces nondeterministic behavior such as when a socket is rapidly deleted and recreated, which could fail as the the deletion happens asynchronously. Signed-off-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/geneve.h')
-rw-r--r--include/net/geneve.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/geneve.h b/include/net/geneve.h
index 112132cf8e2e..56c7e1ac216a 100644
--- a/include/net/geneve.h
+++ b/include/net/geneve.h
@@ -71,7 +71,6 @@ struct geneve_sock {
71 struct hlist_node hlist; 71 struct hlist_node hlist;
72 geneve_rcv_t *rcv; 72 geneve_rcv_t *rcv;
73 void *rcv_data; 73 void *rcv_data;
74 struct work_struct del_work;
75 struct socket *sock; 74 struct socket *sock;
76 struct rcu_head rcu; 75 struct rcu_head rcu;
77 atomic_t refcnt; 76 atomic_t refcnt;