]> err.no Git - linux-2.6/commitdiff
PS3: fix the bug that 'ifconfig down' would hang
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>
Tue, 28 Aug 2007 04:18:15 +0000 (13:18 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 31 Aug 2007 10:52:57 +0000 (06:52 -0400)
Fix the bug that 'ifconfig eth0 down' would hang up, reported by Stefan
Assmann <sassmann@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@sm.sony.co.jp>
CC: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ps3_gelic_net.c

index 13d1c0a2a25fc2d1598f80fd0a88949eb8e1d5e8..e565039184369b22b25dc486ff4f8a945c92e26e 100644 (file)
@@ -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 */