• David Stevens's avatar
    [MULTICAST]: multicast loop with include filters fix · b022a38e
    David Stevens authored
    When sending a multicast and using looping back a copy to the
    local machine, the interface filter checks can be done before the
    source address is specified. For an INCLUDE filter, this won't match
    the allowed sources and the packets won't be delivered locally,
    even when the ultimate source address chosen is in the allowed list.
    
    The patch below fixes the filter checks for both IGMPv3 and MLDv2
    to only apply when a source address is available.
    
    Thanks to Steven Hessing for reporting the problem and providing
    a test case for reproducing it.
    b022a38e
mcast.c 56.8 KB