Re: [PATCH net-next] macvtap: check minor when unregistering

2016-04-26 Thread David Miller
From: Francesco Ruggeri Date: Sat, 23 Apr 2016 15:04:31 -0700 > macvtap_device_event(NETDEV_UNREGISTER) should check vlan->minor to > determine if it is being invoked in the context of a macvtap_newlink > that failed, for example in this code sequence: > > macvtap_newlink > macvlan_common_newl

Re: [PATCH net-next] macvtap: check minor when unregistering

2016-04-25 Thread Eric W. Biederman
Francesco Ruggeri writes: > macvtap_device_event(NETDEV_UNREGISTER) should check vlan->minor to > determine if it is being invoked in the context of a macvtap_newlink > that failed, for example in this code sequence: > > macvtap_newlink > macvlan_common_newlink > register_netdevice >

[PATCH net-next] macvtap: check minor when unregistering

2016-04-23 Thread Francesco Ruggeri
macvtap_device_event(NETDEV_UNREGISTER) should check vlan->minor to determine if it is being invoked in the context of a macvtap_newlink that failed, for example in this code sequence: macvtap_newlink macvlan_common_newlink register_netdevice call_netdevice_notifiers(NETDEV_REGISTER, d