Skip to content

Commit 5f3a114

Browse files
Toshiharu Okadadavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7091fbd commit 5f3a114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/pch_gbe/pch_gbe_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ static int pch_gbe_napi_poll(struct napi_struct *napi, int budget)
21952195
/* If no Tx and not enough Rx work done,
21962196
* exit the polling mode
21972197
*/
2198-
if ((work_done < budget) || !netif_running(netdev))
2198+
if (work_done < budget)
21992199
poll_end_flag = true;
22002200
}
22012201

0 commit comments

Comments
 (0)