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

Since we now hold RTNL lock in geneve_exit_net, it's better batch them
to speedup geneve tunnel dismantle.

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