commit | 544a773a01828e3cc3b553721f68d880d0d27a97 | [log] [tgz] |
---|---|---|
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | Sat Apr 09 12:46:23 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Apr 16 18:23:23 2016 -0400 |
tree | 974f6cdd54036ebc73555a28becbc37d2466b976 | |
parent | 0412bd931f5f94d1054e958415c4a945d8ee62f4 [diff] |
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>