Re: [PATCH net-next] dp83640: don't hold spinlock while calling netif_rx_ni

2017-08-31 Thread Richard Cochran
On Wed, Aug 30, 2017 at 02:50:31PM -0700, David Miller wrote: > From: Stefan Sørensen > Date: Wed, 30 Aug 2017 08:58:47 +0200 > > > We should not hold a spinlock while pushing the skb into the networking > > stack, so move the call to netif_rx_ni out of the critical region to where > > we have dr

Re: [PATCH net-next] dp83640: don't hold spinlock while calling netif_rx_ni

2017-08-30 Thread David Miller
From: Stefan Sørensen Date: Wed, 30 Aug 2017 08:58:47 +0200 > We should not hold a spinlock while pushing the skb into the networking > stack, so move the call to netif_rx_ni out of the critical region to where > we have dropped the spinlock. > > Signed-off-by: Stefan Sørensen Looks good, appl

[PATCH net-next] dp83640: don't hold spinlock while calling netif_rx_ni

2017-08-29 Thread Stefan Sørensen
We should not hold a spinlock while pushing the skb into the networking stack, so move the call to netif_rx_ni out of the critical region to where we have dropped the spinlock. Signed-off-by: Stefan Sørensen --- drivers/net/phy/dp83640.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(