summaryrefslogtreecommitdiffstats
path: root/include/net/geneve.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-01-02 18:26:04 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-04 22:21:33 -0500
commitdf5dba8e52be50e615e03ef73b34611d82587f42 (patch)
treee74e1098ddf8f923670a44f67799863794259416 /include/net/geneve.h
parent829a3ada9cc7d4c30fa61f8033403fb6c8f8092a (diff)
downloadop-kernel-dev-df5dba8e52be50e615e03ef73b34611d82587f42.zip
op-kernel-dev-df5dba8e52be50e615e03ef73b34611d82587f42.tar.gz
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 b40f4af..03aa2ad 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;
OpenPOWER on IntegriCloud