mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
pch_gbe: Fixed the issue on which PC was frozen when link was downed.
When a link was downed during network use, there is an issue on which PC freezes. This patch fixed this issue. Signed-off-by: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7091fbd82c
commit
5f3a114190
1 changed files with 1 additions and 1 deletions
|
@ -2195,7 +2195,7 @@ static int pch_gbe_napi_poll(struct napi_struct *napi, int budget)
|
|||
/* If no Tx and not enough Rx work done,
|
||||
* exit the polling mode
|
||||
*/
|
||||
if ((work_done < budget) || !netif_running(netdev))
|
||||
if (work_done < budget)
|
||||
poll_end_flag = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue