]> 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)
commitfa82ebe957837983c1e45e05d193d70a3f695e49
treebda655d89f7c989a1d0b55df21500aff03951f90
parent7d5ac8d2bd9bced8e1345a74927114320271bc45
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