bridge: multicast: add a comment to br_port_state_selection about blocking state
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 23 Jun 2015 11:47:44 +0000 (04:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2015 12:40:54 +0000 (05:40 -0700)
commit9aa66382163e784acac0ce3580ed202d9a56d1ac
tree3ca372a055a5fc1c26991d3dce2abeaae815f36c
parent3a07bd6fead4f00f67b1bf5f551e686661c4f52c
bridge: multicast: add a comment to br_port_state_selection about blocking state

Add a comment to explain why we're not disabling port's multicast when it
goes in blocking state. Since there's a check in the timer's function which
bypasses the timer if the port's in blocking/disabled state, the timer will
simply expire and stop without sending more queries.

Suggested-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp.c