]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: mcast: do nothing if port's multicast_router is set to the same val
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fri, 26 Feb 2016 20:20:02 +0000 (21:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 21:55:07 +0000 (16:55 -0500)
commitff22b8513935e5be3aa25a687fd926800807aeda
treef5c7fed1ade3dfea8f50b3bd8b9cc98a4b4f141a
parent4e7d4319dc57bc0a07cfcd4541791f026260419a
bridge: mcast: do nothing if port's multicast_router is set to the same val

This is needed for the upcoming temporary port router. There's no point
to go through the logic if the value is the same.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c