commit | 0fda7600c2e174fe27e9cf02e78e345226e441fa | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Sat Mar 14 08:18:42 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 15 00:42:35 2020 -0700 |
tree | a474fa3ee448a16cb37a0b3f5e0b04b71e4c97c4 | |
parent | 61fad6816fc10fb8793a925d5c1256d1c3db0cd2 [diff] |
geneve: move debug check after netdev unregister The debug check must be done after unregister_netdevice_many() call -- the list_del() for this is done inside .ndo_stop. Fixes: 2843a25348f8 ("geneve: speedup geneve tunnels dismantle") Reported-and-tested-by: <syzbot+68a8ed58e3d17c700de5@syzkaller.appspotmail.com> Cc: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>