RE: [PATCH net v2 5/5] hv_netvsc: fix bonding devices check in netvsc_netdev_event()

2016-08-15 Thread Haiyang Zhang
> Subject: [PATCH net v2 5/5] hv_netvsc: fix bonding devices check in > netvsc_netdev_event() > > Bonding driver sets IFF_BONDING on both master (the bonding device) and > slave (the real NIC) devices and in netvsc_netdev_event() we want to skip > master devices only. Currentl

[PATCH net v2 5/5] hv_netvsc: fix bonding devices check in netvsc_netdev_event()

2016-08-15 Thread Vitaly Kuznetsov
Bonding driver sets IFF_BONDING on both master (the bonding device) and slave (the real NIC) devices and in netvsc_netdev_event() we want to skip master devices only. Currently, there is an uncertainty when a slave interface is removed: if bonding module comes first in netdev_chain it clears IFF_BO