[Cbe-oss-dev] [PATCH] PS3: fix the bug that 'ifconfig down' would hang

Masakazu Mokuno mokuno at sm.sony.co.jp
Tue Aug 28 14:18:15 EST 2007


Fix the bug that 'ifconfig eth0 down' would hang up, reported by Stefan
Assmann <sassmann at suse.de>.
As we removed netif_poll_enable() from dev->open(), we should not use 
netif_poll_disable() in dev->stop(). 

Signed-off-by: Masakazu Mokuno <mokuno at sm.sony.co.jp>
CC: Geoff Levand <geoffrey.levand at am.sony.com>
---
 drivers/net/ps3_gelic_net.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -556,7 +556,6 @@ static int gelic_net_stop(struct net_dev
 {
 	struct gelic_net_card *card = netdev_priv(netdev);
 
-	netif_poll_disable(netdev);
 	netif_stop_queue(netdev);
 
 	/* turn off DMA, force end */


--
Masakazu MOKUNO




More information about the cbe-oss-dev mailing list