Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758569AbYGaUiy (ORCPT ); Thu, 31 Jul 2008 16:38:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752702AbYGaUik (ORCPT ); Thu, 31 Jul 2008 16:38:40 -0400 Received: from mx1.redhat.com ([66.187.233.31]:52963 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752293AbYGaUij (ORCPT ); Thu, 31 Jul 2008 16:38:39 -0400 From: Eduardo Habkost To: Jeff Garzik , David Miller Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jeremy Fitzhardinge , Eduardo Habkost Subject: [PATCH][resend] xen-netfront: use netif_start_queue() on xennet_open() Date: Thu, 31 Jul 2008 17:36:55 -0300 Message-Id: <1217536615-2090-1-git-send-email-ehabkost@redhat.com> X-Mailer: git-send-email 1.5.4.rc3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 889 Lines: 29 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 --- drivers/net/xen-netfront.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index 902bbe7..c749bdb 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c @@ -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; } -- 1.5.5.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/