vxlan: speedup vxlan tunnels dismantle
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sat, 16 Dec 2017 09:54:49 +0000 (17:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 15:59:44 +0000 (10:59 -0500)
commit57b61127ab7da18e612a5cd26783a5103b1c6385
treee4c05603cfe44a613e0661d8079ca86aad88dbee
parent41b0cd36de9bad10e689151ff15a28a88446bd6e
vxlan: speedup vxlan tunnels dismantle

Since we now hold RTNL lock in vxlan_exit_net, it's better to batch them
to speedup vxlan tunnels dismantle.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c