]> 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)
commit2bb5b2ef9c23966a1ed83d0fa72569ac04ca7690
treef5c7fed1ade3dfea8f50b3bd8b9cc98a4b4f141a
parent13a0a93c6663fa13a036eb5f23b0877de6dabc5c
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