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)
commit7f0aec7a668419bdbff12de6e8016544f874e708
tree8727a9261d9b5774797bce259a45b648f0d76bed
parentec1606c0906de35dbc6f21aea75c2b950104cae5
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