netiucv: invalid return code from hard_start_xmit
Avoid kernel warning by using the correct hard_start_xmit return code NETDEV_TX_BUSY for skb requeuing. Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9e669d327a
commit
4e584d66ea
@ -1312,7 +1312,7 @@ static int netiucv_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
|
||||
if (netiucv_test_and_set_busy(dev)) {
|
||||
IUCV_DBF_TEXT(data, 2, "EBUSY from netiucv_tx\n");
|
||||
return -EBUSY;
|
||||
return NETDEV_TX_BUSY;
|
||||
}
|
||||
dev->trans_start = jiffies;
|
||||
rc = netiucv_transmit_skb(privptr->conn, skb) != 0;
|
||||
|
Loading…
Reference in New Issue
Block a user