• YOSHIFUJI Hideaki's avatar
    [IPV6]: Fix race in route selection. · c302e6d5
    YOSHIFUJI Hideaki authored
    We eliminated rt6_dflt_lock (to protect default router pointer)
    at 2.6.17-rc1, and introduced rt6_select() for general router selection.
    The function is called in the context of rt6_lock read-lock held,
    but this means, we have some race conditions when we do round-robin.
    
    Signed-off-by; YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c302e6d5
route.c 53.3 KB