• Linus Lüssing's avatar
    bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones · cc0fdd80
    Linus Lüssing authored
    Currently we would still potentially suffer multicast packet loss if there
    is just either an IGMP or an MLD querier: For the former case, we would
    possibly drop IPv6 multicast packets, for the latter IPv4 ones. This is
    because we are currently assuming that if either an IGMP or MLD querier
    is present that the other one is present, too.
    
    This patch makes the behaviour and fix added in
    "bridge: disable snooping if there is no querier" (b00589af)
    to also work if there is either just an IGMP or an MLD querier on the
    link: It refines the deactivation of the snooping to be protocol
    specific by using separate timers for the snooped IGMP and MLD queries
    as well as separate timers for our internal IGMP and MLD queriers.
    Signed-off-by: default avatarLinus Lüssing <linus.luessing@web.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    cc0fdd80
br_mdb.c 11 KB