From: Ursula Braun Date: Tue, 24 Mar 2009 03:27:46 +0000 (+0000) Subject: claw: invalid return codes from hard_start_xmit X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8f0c40d4b6a6207ef2105d94544a9d1c0835c4ab;p=linux-2.6-omap-h63xx.git claw: invalid return codes from hard_start_xmit Avoid kernel warnings by using the correct hard_start_xmit return code NETDEV_TX_BUSY for skb requeuing. Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 6669adf355b..a4524ecd9dc 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c @@ -348,6 +348,8 @@ claw_tx(struct sk_buff *skb, struct net_device *dev) rc=claw_hw_tx( skb, dev, 1 ); spin_unlock_irqrestore(get_ccwdev_lock(p_ch->cdev), saveflags); CLAW_DBF_TEXT_(4, trace, "clawtx%d", rc); + if (rc) + rc = NETDEV_TX_BUSY; return rc; } /* end of claw_tx */