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)
commitf12e7d95d12fa4dbe655bd038a6d38526a879deb
tree8cb1297913aa513077a59d4b2abb520f0a8782d8
parent147c1e9b902c25c868024260d24bb0b1dac1433d
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