Re: [PATCH net v3] vxlan: do not destroy fdb if register_netdevice() is failed

2019-07-01 Thread David Miller
From: Taehee Yoo Date: Fri, 28 Jun 2019 14:07:25 +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 occu

Re: [PATCH net v3] vxlan: do not destroy fdb if register_netdevice() is failed

2019-06-30 Thread Roopa Prabhu
On Thu, Jun 27, 2019 at 10:07 PM Taehee Yoo wrote: > > __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.

[PATCH net v3] vxlan: do not destroy fdb if register_netdevice() is failed

2019-06-27 Thread Taehee Yoo
__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. This patch makes vxlan_fdb_create() to do not link fdb entry