vxlan: reduce usage of synchronize_net in ndo_stop
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sat, 9 Apr 2016 10:46:23 +0000 (12:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Apr 2016 22:23:23 +0000 (18:23 -0400)
commit544a773a01828e3cc3b553721f68d880d0d27a97
tree974f6cdd54036ebc73555a28becbc37d2466b976
parent0412bd931f5f94d1054e958415c4a945d8ee62f4
vxlan: reduce usage of synchronize_net in ndo_stop

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 <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
This page took 0.029927 seconds and 5 git commands to generate.