• P
    ipv4: ipmr: fix invalid cache resolving when adding a non-matching entry · b0ebb739
    Patrick McHardy 提交于
    The patch to convert struct mfc_cache to list_heads (ipv4: ipmr: convert
    struct mfc_cache to struct list_head) introduced a bug when adding new
    cache entries that don't match any unresolved entries.
    
    The unres queue is searched for a matching entry, which is then resolved.
    When no matching entry is present, the iterator points to the head of the
    list, but is treated as a matching entry. Use a seperate variable to
    indicate that a matching entry was found.
    Signed-off-by: NPatrick McHardy <kaber@trash.net>
    b0ebb739
ipmr.c 53.0 KB