]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: mcast: use names for the different multicast_router types
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fri, 26 Feb 2016 20:20:01 +0000 (21:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 21:55:07 +0000 (16:55 -0500)
commit4e7d4319dc57bc0a07cfcd4541791f026260419a
tree8727a9261d9b5774797bce259a45b648f0d76bed
parent906076850e2f2140d22a10c1d1fbfd200be6f2dd
bridge: mcast: use names for the different multicast_router types

Using raw values makes it difficult to extend and also understand the
code, give them names and do explicit per-option manipulation in
br_multicast_set_port_router.

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