summaryrefslogtreecommitdiff
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2014-06-10 09:40:14 +0900
committerDavid S. Miller <davem@davemloft.net>2014-06-11 15:15:31 -0700
commit4f809cea611f1f00a0b7a42751cb12d997a4c11c (patch)
tree10aa62a6975e4d9a33cadec7fa260cfd3e31a2b6 /drivers/spi/spidev.c
parent61f83d0d57f1ec42a61b47b0ace97bbf0a8523a3 (diff)
net: sh_eth: Fix receive packet "exceeded" condition in sh_eth_rx()
This patch fixes the packet "exceeded" condition in sh_eth_rx() when RACT in an RX descriptor is not set and the "quota" is 0. Otherwise, kernel panic happens because the "&n->poll_list" is deleted twice in sh_eth_poll() which calls napi_complete() and net_rx_action(). Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spidev.c')
0 files changed, 0 insertions, 0 deletions