]> git.baikalelectronics.ru Git - kernel.git/commit
dp83640: don't hold spinlock while calling netif_rx_ni
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Wed, 30 Aug 2017 06:58:47 +0000 (08:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 21:50:11 +0000 (14:50 -0700)
commit2f0aef02c84c1d2119df4f7d8802da64c337fdb5
treebda655d89f7c989a1d0b55df21500aff03951f90
parent43453e4a37e5708cca920f3037bd6e22545587af
dp83640: don't hold spinlock while calling netif_rx_ni

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 <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c