commit | c302e6d54e468ee9b1e18152e2e9da06953f3473 | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Fri Apr 28 15:59:15 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Apr 29 18:33:22 2006 -0700 |
tree | 23ea6976bef7aad9a934b56714786a0d55256ec6 | |
parent | e959d8121fcbfee6ec049cc617e9423d1799f2e4 [diff] |
[IPV6]: Fix race in route selection. 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>