]> 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)
commit13a0a93c6663fa13a036eb5f23b0877de6dabc5c
tree8727a9261d9b5774797bce259a45b648f0d76bed
parent26776c7a3f4a2b5a08770e6fb93c413cef9974a8
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