]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64d01c0342e042cd42747a7fd4f51df7e0b82915
tree3c7bbed26f620254a680329600b658746c3c83fc
parent18fb500b201880badec3c4966cbcc2a351cb2d50
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