diff options
author | Jesse Gross <jesse@nicira.com> | 2015-01-03 05:26:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-05 06:21:33 +0300 |
commit | df5dba8e52be50e615e03ef73b34611d82587f42 (patch) | |
tree | e74e1098ddf8f923670a44f67799863794259416 /include/net/geneve.h | |
parent | 829a3ada9cc7d4c30fa61f8033403fb6c8f8092a (diff) | |
download | linux-df5dba8e52be50e615e03ef73b34611d82587f42.tar.xz |
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.h | 2 |
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; |