Re: [PATCHv2 net] bridge: move bridge multicast cleanup to ndo_uninit

2017-04-25 Thread David Miller
From: Xin Long Date: Tue, 25 Apr 2017 22:58:37 +0800 > During removing a bridge device, if the bridge is still up, a new mdb entry > still can be added in br_multicast_add_group() after all mdb entries are > removed in br_multicast_dev_del(). Like the path: > > mld_ifc_timer_expire -> > ml

Re: [PATCHv2 net] bridge: move bridge multicast cleanup to ndo_uninit

2017-04-25 Thread Nikolay Aleksandrov
On 25/04/17 17:58, Xin Long wrote: > During removing a bridge device, if the bridge is still up, a new mdb entry > still can be added in br_multicast_add_group() after all mdb entries are > removed in br_multicast_dev_del(). Like the path: > > mld_ifc_timer_expire -> > mld_sendpack -> ... >

Re: [PATCHv2 net] bridge: move bridge multicast cleanup to ndo_uninit

2017-04-25 Thread Stephen Hemminger
On Tue, 25 Apr 2017 22:58:37 +0800 Xin Long wrote: > During removing a bridge device, if the bridge is still up, a new mdb entry > still can be added in br_multicast_add_group() after all mdb entries are > removed in br_multicast_dev_del(). Like the path: > > mld_ifc_timer_expire -> > mld_

[PATCHv2 net] bridge: move bridge multicast cleanup to ndo_uninit

2017-04-25 Thread Xin Long
During removing a bridge device, if the bridge is still up, a new mdb entry still can be added in br_multicast_add_group() after all mdb entries are removed in br_multicast_dev_del(). Like the path: mld_ifc_timer_expire -> mld_sendpack -> ... br_multicast_rcv -> br_multicast_ad