summaryrefslogtreecommitdiff
path: root/include/net/geneve.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-01-02 18:26:02 -0800
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 {
struct hlist_node hlist;
geneve_rcv_t *rcv;
void *rcv_data;
- struct work_struct del_work;
struct socket *sock;
struct rcu_head rcu;
atomic_t refcnt;