]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: mcast: Merge the mc router ports deletions to one function
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:41 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:38 +0000 (11:46 -0500)
commit15af154cadbed8c6e6f65aa8296a639677799b72
tree8cb1297913aa513077a59d4b2abb520f0a8782d8
parentd79114a8db049e611f25eafdbd8f5342d09545d5
bridge: mcast: Merge the mc router ports deletions to one function

There are three places where a port gets deleted from the mc router port
list. This patch join the actual deletion to one function.
It will be helpful for later patch that will offload changes in the mc
router ports list.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c