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)
commitd36b82bcdd1908450f8c3ba3f9b7a189cda8c69c
treebda655d89f7c989a1d0b55df21500aff03951f90
parentf379fdf10b12e19080ee4e2ce27ed54d9e8806d8
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