Re: [PATCH net 2/2] ovs/gre: fix rtnl notifications on iface deletion

2016-06-10 Thread pravin shelar
On Fri, Jun 10, 2016 at 2:32 AM, Nicolas Dichtel wrote: > The function gretap_fb_dev_create() (only used by ovs) never calls > rtnl_configure_link(). The consequence is that dev->rtnl_link_state is > never set to RTNL_LINK_INITIALIZED. > During the deletion phase, the

[PATCH net 2/2] ovs/gre: fix rtnl notifications on iface deletion

2016-06-10 Thread Nicolas Dichtel
The function gretap_fb_dev_create() (only used by ovs) never calls rtnl_configure_link(). The consequence is that dev->rtnl_link_state is never set to RTNL_LINK_INITIALIZED. During the deletion phase, the function rollback_registered_many() sends a RTM_DELLINK only if dev->rtnl_link_state is set