diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2014-06-10 09:40:14 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 15:15:31 -0700 |
commit | 4f809cea611f1f00a0b7a42751cb12d997a4c11c (patch) | |
tree | 10aa62a6975e4d9a33cadec7fa260cfd3e31a2b6 /drivers/reset/reset-sunxi.c | |
parent | 61f83d0d57f1ec42a61b47b0ace97bbf0a8523a3 (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/reset/reset-sunxi.c')
0 files changed, 0 insertions, 0 deletions