[PATCH IPv6] Fix race condition in ipv6_add_addr

2006-08-29 Thread Olaf Kirch
Here's a patch originally from Keir Fraser, which we included in SLES10, but which we forgot to submit upstream so far. During stress testing, machines were frequently crashing in __ipv6_ifa_notify on dst_hold(&ifp->rt.u_dst), with ifp->rt being a NULL pointer. The attached patch fixes the proble

Re: [PATCH IPv6] Fix race condition in ipv6_add_addr

2006-08-29 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Tue, 29 Aug 2006 10:35:36 +0200), Olaf Kirch <[EMAIL PROTECTED]> says: > During stress testing, machines were frequently crashing in > __ipv6_ifa_notify on dst_hold(&ifp->rt.u_dst), with ifp->rt being a > NULL pointer. > > The attached patch fixes the problem.

Re: [PATCH IPv6] Fix race condition in ipv6_add_addr

2006-08-29 Thread David Miller
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Date: Tue, 29 Aug 2006 18:21:28 +0900 (JST) > In article <[EMAIL PROTECTED]> (at Tue, 29 Aug 2006 10:35:36 +0200), Olaf > Kirch <[EMAIL PROTECTED]> says: > > > During stress testing, machines were frequently crashing in > > __ipv6_ifa_notify on dst_hol