diff options
author | Cong Wang <amwang@redhat.com> | 2013-05-21 21:52:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-22 14:54:37 -0700 |
commit | 9f00b2e7cf241fa389733d41b615efdaa2cb0f5b (patch) | |
tree | 3426d01fdec8b2419cdb72f597f1f9e5336a7643 /net/ipv4 | |
parent | 1c8ad5bfa2be5025b0c81e3c2decd0574d453ab1 (diff) |
bridge: only expire the mdb entry when query is received
Currently we arm the expire timer when the mdb entry is added,
however, this causes problem when there is no querier sent
out after that.
So we should only arm the timer when a corresponding query is
received, as suggested by Herbert.
And he also mentioned "if there is no querier then group
subscriptions shouldn't expire. There has to be at least one querier
in the network for this thing to work. Otherwise it just degenerates
into a non-snooping switch, which is OK."
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions