Re: [PATCH net] vrf: fix bug_on triggered by rx when destroying a vrf

2017-07-06 Thread David Miller
From: Nikolay Aleksandrov Date: Thu, 6 Jul 2017 15:24:40 +0300 > When destroying a VRF device we cleanup the slaves in its ndo_uninit() > function, but that causes packets to be switched (skb->dev == vrf being > destroyed) even though we're pass the point where the VRF should be > receiving any

Re: [PATCH net] vrf: fix bug_on triggered by rx when destroying a vrf

2017-07-06 Thread David Ahern
On 7/6/17 6:24 AM, Nikolay Aleksandrov wrote: > When destroying a VRF device we cleanup the slaves in its ndo_uninit() > function, but that causes packets to be switched (skb->dev == vrf being > destroyed) even though we're pass the point where the VRF should be > receiving any packets while it is

[PATCH net] vrf: fix bug_on triggered by rx when destroying a vrf

2017-07-06 Thread Nikolay Aleksandrov
When destroying a VRF device we cleanup the slaves in its ndo_uninit() function, but that causes packets to be switched (skb->dev == vrf being destroyed) even though we're pass the point where the VRF should be receiving any packets while it is being dismantled. This causes a BUG_ON to trigger if w