projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e669d3
)
netiucv: invalid return code from hard_start_xmit
author
Ursula Braun
<ursula.braun@de.ibm.com>
Tue, 24 Mar 2009 03:27:45 +0000
(
03:27
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 24 Mar 2009 22:24:28 +0000
(15:24 -0700)
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>
drivers/s390/net/netiucv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/net/netiucv.c
b/drivers/s390/net/netiucv.c
index 1ba4509435f8fbfc2f021eea0575956ae1068906..be716e45f7acddcddae29f694252177a89c2eb9b 100644
(file)
--- a/
drivers/s390/net/netiucv.c
+++ b/
drivers/s390/net/netiucv.c
@@
-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
-E
BUSY;
+ return
NETDEV_TX_
BUSY;
}
dev->trans_start = jiffies;
rc = netiucv_transmit_skb(privptr->conn, skb) != 0;