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)
commit4950cfd1e6a85b5e079a78f19792e6ec54199170
treef5c7fed1ade3dfea8f50b3bd8b9cc98a4b4f141a
parent7f0aec7a668419bdbff12de6e8016544f874e708
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