Re: [PATCH net-next 6/6] geneve: Remove duplicate dev list

2015-08-12 Thread Jesse Gross
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

[PATCH net-next 6/6] geneve: Remove duplicate dev list

2015-08-11 Thread Pravin B Shelar
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(-)