[IPV6]: Fix race in route selection.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 28 Apr 2006 22:59:15 +0000 (15:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 30 Apr 2006 01:33:22 +0000 (18:33 -0700)
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: David S. Miller <davem@davemloft.net>

No differences found