commit | 5cb5e947d8f82011e3d7e7017e9d10db9a40ae9f | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sat Feb 27 19:41:46 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 28 00:48:45 2010 -0800 |
tree | 126e3b2112f780120bf9e95c67fdb1b81e73c314 | |
parent | eb1d16414339a6e113d89e2cca2556005d7ce919 [diff] |
bridge: Add multicast forwarding functions This patch adds code to perform selective multicast forwarding. We forward multicast traffic to a set of ports plus all multicast router ports. In order to avoid duplications among these two sets of ports, we order all ports by the numeric value of their pointers. The two lists are then walked in lock-step to eliminate duplicates. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>