Re: [PATCH net] bridge: mdb: fix double add notification

2015-07-15 Thread David Miller
From: Nikolay Aleksandrov Date: Mon, 13 Jul 2015 06:36:19 -0700 > Since the mdb add/del code was introduced there have been 2 br_mdb_notify > calls when doing br_mdb_add() resulting in 2 notifications on each add. > > Example: > Command: bridge mdb add dev br0 port eth1 grp 239.0.0.1 permanent

Re: [PATCH net] bridge: mdb: fix double add notification

2015-07-13 Thread Cong Wang
On Mon, Jul 13, 2015 at 6:36 AM, Nikolay Aleksandrov wrote: > Since the mdb add/del code was introduced there have been 2 br_mdb_notify > calls when doing br_mdb_add() resulting in 2 notifications on each add. > > Example: > Command: bridge mdb add dev br0 port eth1 grp 239.0.0.1 permanent > Bef

[PATCH net] bridge: mdb: fix double add notification

2015-07-13 Thread Nikolay Aleksandrov
Since the mdb add/del code was introduced there have been 2 br_mdb_notify calls when doing br_mdb_add() resulting in 2 notifications on each add. Example: Command: bridge mdb add dev br0 port eth1 grp 239.0.0.1 permanent Before patch: root@debian:~# bridge monitor all [MDB]dev br0 port eth1 gr