summaryrefslogtreecommitdiffstats
path: root/include/net/geneve.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-01-03 03:26:04 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-05 04:21:33 +0100
commitdf5dba8e52be50e615e03ef73b34611d82587f42 (patch)
treee74e1098ddf8f923670a44f67799863794259416 /include/net/geneve.h
parentgeneve: Simplify locking. (diff)
downloadlinux-df5dba8e52be50e615e03ef73b34611d82587f42.tar.xz
linux-df5dba8e52be50e615e03ef73b34611d82587f42.zip
geneve: Remove socket hash table.
The hash table for open Geneve ports is used only on creation and deletion time. It is not performance critical and is not likely to grow to a large number of items. Therefore, this can be changed to use a simple linked list. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/geneve.h b/include/net/geneve.h
index b40f4affc4cb..03aa2adb5bab 100644
--- a/include/net/geneve.h
+++ b/include/net/geneve.h
@@ -68,7 +68,7 @@ struct geneve_sock;
typedef void (geneve_rcv_t)(struct geneve_sock *gs, struct sk_buff *skb);
struct geneve_sock {
- struct hlist_node hlist;
+ struct list_head list;
geneve_rcv_t *rcv;
void *rcv_data;
struct socket *sock;