From: Masakazu Mokuno Date: Tue, 28 Aug 2007 04:18:15 +0000 (+0900) Subject: PS3: fix the bug that 'ifconfig down' would hang X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14cc0a2b733cc1129676d8e01558bab32b138d63;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git PS3: fix the bug that 'ifconfig down' would hang Fix the bug that 'ifconfig eth0 down' would hang up, reported by Stefan Assmann . As we removed netif_poll_enable() from dev->open(), we should not use netif_poll_disable() in dev->stop(). Signed-off-by: Masakazu Mokuno CC: Geoff Levand Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 13d1c0a2a25f..e56503918436 100644 --- 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_device *netdev) { struct gelic_net_card *card = netdev_priv(netdev); - netif_poll_disable(netdev); netif_stop_queue(netdev); /* turn off DMA, force end */