Skip to content

Commit

Permalink
xen-netfront: use netif_start_queue() on xennet_open()
Browse files Browse the repository at this point in the history
xen-netfront never called netif_start_queue() and was was waking the
queue on xennet_open(), triggering the BUG_ON() on __netif_schedule().

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Eduardo Habkost authored and Jeff Garzik committed Aug 7, 2008
1 parent b08c42b commit 0b1ab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/xen-netfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ static int xennet_open(struct net_device *dev)
}
spin_unlock_bh(&np->rx_lock);

xennet_maybe_wake_tx(dev);
netif_start_queue(dev);

return 0;
}
Expand Down

0 comments on commit 0b1ab1b

Please sign in to comment.