Commit 14cc0a2b authored by Masakazu Mokuno's avatar Masakazu Mokuno Committed by Jeff Garzik

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: default avatarMasakazu Mokuno <mokuno@sm.sony.co.jp>
CC: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 0491d1f3
...@@ -556,7 +556,6 @@ static int gelic_net_stop(struct net_device *netdev) ...@@ -556,7 +556,6 @@ static int gelic_net_stop(struct net_device *netdev)
{ {
struct gelic_net_card *card = netdev_priv(netdev); struct gelic_net_card *card = netdev_priv(netdev);
netif_poll_disable(netdev);
netif_stop_queue(netdev); netif_stop_queue(netdev);
/* turn off DMA, force end */ /* turn off DMA, force end */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment