All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] pch_gbe: Fixed the issue on which PC was frozen when link was downed.
@ 2011-09-26  7:27 Toshiharu Okada
  2011-09-26  7:27 ` [PATCH 2/2] pch_gbe: Fixed the issue on which a network freezes Toshiharu Okada
  2011-10-03 18:25 ` [PATCH 1/2] pch_gbe: Fixed the issue on which PC was frozen when link was downed David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Toshiharu Okada @ 2011-09-26  7:27 UTC (permalink / raw)
  To: netdev, linux-kernel, eric.dumazet, davem
  Cc: qi.wang, yong.y.wang, joel.clark, kok.howg.ewe, tomoya-linux,
	Toshiharu Okada

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>
---
 drivers/net/pch_gbe/pch_gbe_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/pch_gbe/pch_gbe_main.c b/drivers/net/pch_gbe/pch_gbe_main.c
index 567ff10..5474189 100644
--- a/drivers/net/pch_gbe/pch_gbe_main.c
+++ b/drivers/net/pch_gbe/pch_gbe_main.c
@@ -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;
 	}
 
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-03 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-26  7:27 [PATCH 1/2] pch_gbe: Fixed the issue on which PC was frozen when link was downed Toshiharu Okada
2011-09-26  7:27 ` [PATCH 2/2] pch_gbe: Fixed the issue on which a network freezes Toshiharu Okada
2011-10-03 18:25   ` David Miller
2011-10-03 18:25 ` [PATCH 1/2] pch_gbe: Fixed the issue on which PC was frozen when link was downed David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.