diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-01 04:30:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-01 04:30:45 +0200 |
commit | 4c7966b86b910d6d4869aba1d7417d053ac9682c (patch) | |
tree | ec65994e682b6c3e05533ddd1bb15986687f8ea1 /drivers | |
parent | [LLC]: Kill llc_station_mac_sa symbol export. (diff) | |
download | linux-4c7966b86b910d6d4869aba1d7417d053ac9682c.tar.xz linux-4c7966b86b910d6d4869aba1d7417d053ac9682c.zip |
[IPV6] MCAST: Ensure to check multicast listener(s).
In ip6_mc_input(), we need to check whether we have listener(s) for
the packet.
After commit ae7bf20a6316272acfcaef5d265b18aaa54b41e4, all packets
for multicast destinations are delivered to upper layer if
IFF_PROMISC or IFF_ALLMULTI is set.
In fact, bug was rather ancient; the original (before the commit)
intent of the dev->flags check was to skip the ipv6_chk_mcast_addr()
call, assuming L2 filters packets appropriately, but it was even not
true.
Let's explicitly check our multicast list.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions