From: Yoshihiro Shimoda Date: Tue, 10 Jun 2014 00:40:14 +0000 (+0900) Subject: net: sh_eth: Fix receive packet "exceeded" condition in sh_eth_rx() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f809cea611f1f00a0b7a42751cb12d997a4c11c;p=pandora-kernel.git 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 Signed-off-by: Yoshihiro Shimoda Signed-off-by: David S. Miller --- Reading git-diff-tree failed