On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar wrote:
> static void __net_exit geneve_exit_net(struct net *net)
> {
> struct geneve_net *gn = net_generic(net, geneve_net_id);
> - struct geneve_dev *geneve, *next;
> + struct hlist_head *vni_list_head;
> + struct hlist
Geneve driver maintains list and hash table of Geneve devices.
Following patch removes the duplicate Geneve list and iterate
hash table when it is needed.
Signed-off-by: Pravin B Shelar
---
drivers/net/geneve.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)