bridge: Fix MLD queries' ethernet source address
authorLinus Lüssing <linus.luessing@web.de>
Thu, 17 Feb 2011 08:17:51 +0000 (08:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Feb 2011 18:07:28 +0000 (10:07 -0800)
commit36cff5a10c6b003fa2d0464848d5664b2bf723e0
tree3c7bbed26f620254a680329600b658746c3c83fc
parente4de9f9e8333fbbae951c6e068f501f955123cf0
bridge: Fix MLD queries' ethernet source address

Map the IPv6 header's destination multicast address to an ethernet
source address instead of the MLD queries multicast address.

For instance for a general MLD query (multicast address in the MLD query
set to ::), this would wrongly be mapped to 33:33:00:00:00:00, although
an MLD queries destination MAC should always be 33:33:00:00:00:01 which
matches the IPv6 header's multicast destination ff02::1.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c