From: Taehee Yoo <ap420...@gmail.com> Date: Thu, 20 Jun 2019 20:51:08 +0900
> __vxlan_dev_create() destroys FDB using specific pointer which indicates > a fdb when error occurs. > But that pointer should not be used when register_netdevice() fails because > register_netdevice() internally destroys fdb when error occurs. > > In order to avoid un-registered dev's notification, fdb destroying routine > checks dev's register status before notification. Simply pass do_notify as false in this failure code path of __vxlan_dev_create(), thank you.