Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349659
b: refs/heads/master
c: bf414b3
h: refs/heads/master
i:
  349657: fb0beba
  349655: e5252dc
v: v3
  • Loading branch information
Bjørn Mork authored and David S. Miller committed Feb 4, 2013
1 parent e0e9e41 commit 56bd174
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f1e942cb45d06968b0ce94472d97014e0e1fdc9
refs/heads/master: bf414b369f158bb527f9f29174ada815f961b44c
10 changes: 4 additions & 6 deletions trunk/drivers/net/usb/usbnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,13 +1125,11 @@ netdev_tx_t usbnet_start_xmit (struct sk_buff *skb,
if (info->tx_fixup) {
skb = info->tx_fixup (dev, skb, GFP_ATOMIC);
if (!skb) {
if (netif_msg_tx_err(dev)) {
netif_dbg(dev, tx_err, dev->net, "can't tx_fixup skb\n");
goto drop;
} else {
/* cdc_ncm collected packet; waits for more */
/* packet collected; minidriver waiting for more */
if (info->flags & FLAG_MULTI_PACKET)
goto not_drop;
}
netif_dbg(dev, tx_err, dev->net, "can't tx_fixup skb\n");
goto drop;
}
}
length = skb->len;
Expand Down

0 comments on commit 56bd174

Please sign in to comment.