Re: [PATCH net] ipv6: Handle missing host route in __ipv6_ifa_notify

2019-10-04 Thread David Miller
From: David Ahern Date: Fri, 4 Oct 2019 08:03:09 -0700 > From: David Ahern > > Rajendra reported a kernel panic when a link was taken down: > > [ 6870.263084] BUG: unable to handle kernel NULL pointer dereference at > 00a8 > [ 6870.271856] IP: [] __ipv6_ifa_notify+0x154/0

Re: [PATCH net] ipv6: Handle missing host route in __ipv6_ifa_notify

2019-10-04 Thread Eric Dumazet
On 10/4/19 8:03 AM, David Ahern wrote: > From: David Ahern > > Rajendra reported a kernel panic when a link was taken down: > > > up. There is a race between addrcond_dad_work getting scheduled and > taking the rtnl lock and a process taking the link down (under rtnl). > The latter removes

[PATCH net] ipv6: Handle missing host route in __ipv6_ifa_notify

2019-10-04 Thread David Ahern
From: David Ahern Rajendra reported a kernel panic when a link was taken down: [ 6870.263084] BUG: unable to handle kernel NULL pointer dereference at 00a8 [ 6870.271856] IP: [] __ipv6_ifa_notify+0x154/0x290 [ 6870.570501] Call Trace: [ 6870.573238] [] ? ipv6_