PS3: fix the bug that 'ifconfig down' would hang
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>
This commit is contained in:
parent
0491d1f3fd
commit
14cc0a2b73
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user