diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-11-09 23:10:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-10 13:41:40 +0900 |
commit | ff0fd34eaee9978f9ed7f6e2ac47f9590d4afac3 (patch) | |
tree | a7ffb712cf3cdbbe5cd9d441469d11768b6447fc /net/bridge/br_input.c | |
parent | 4dc6758d7824a6d25717ccceefc488cafdb07210 (diff) | |
download | linux-ff0fd34eaee9978f9ed7f6e2ac47f9590d4afac3.tar.bz2 |
net: bridge: Rename mglist to host_joined
The boolean mglist indicates the host has joined a particular
multicast group on the bridge interface. It is badly named, obscuring
what is means. Rename it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r-- | net/bridge/br_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index a096d3e189da..7f98a7d25866 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -137,7 +137,7 @@ int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb mdst = br_mdb_get(br, skb, vid); if ((mdst || BR_INPUT_SKB_CB_MROUTERS_ONLY(skb)) && br_multicast_querier_exists(br, eth_hdr(skb))) { - if ((mdst && mdst->mglist) || + if ((mdst && mdst->host_joined) || br_multicast_is_router(br)) { local_rcv = true; br->dev->stats.multicast++; |