Re: [PATCH net-next] vxlan: reduce usage of synchronize_net in ndo_stop

2016-04-16 Thread David Miller
From: Hannes Frederic Sowa Date: Sat, 9 Apr 2016 12:46:23 +0200 > We only need to do the synchronize_net dance once for both, ipv4 and > ipv6 sockets, thus removing one synchronize_net in case both sockets get > dismantled. > > Signed-off-by: Hannes Frederic Sowa Applied.

[PATCH net-next] vxlan: reduce usage of synchronize_net in ndo_stop

2016-04-09 Thread Hannes Frederic Sowa
We only need to do the synchronize_net dance once for both, ipv4 and ipv6 sockets, thus removing one synchronize_net in case both sockets get dismantled. Signed-off-by: Hannes Frederic Sowa --- Based on patch: [net-next,v2] vxlan: synchronously and race-free destruction of vxlan sockets driver