Message ID | 20150330150534.52bf72dd@canb.auug.org.au |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Mon, 30 Mar 2015 15:05:34 +1100 > Caused by a bad merge between commits 1e9e39f4a298 ("usbnet: Fix > tx_packets stat for FLAG_MULTI_FRAME drivers") and 7a1e890e2168 > ("usbnet: Fix tx_bytes statistic running backward in cdc_ncm") form the > net tree and commit 6588af614e7b ("usbnet: Fix tx_packets stat for > FLAG_MULTI_FRAME drivers") from the net-next tree. (Presumably, > 6588af614e7b was cherry-picked as a bug fix. So, Dave, something to > watch for if you merge net into net-next.) Thanks a lot for bringing this to my attention Stephen. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index ee6fed0af6f5..c3e4da9e79ca 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c @@ -1184,8 +1184,6 @@ cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign) usbnet_set_skb_tx_stats(skb_out, n, ctx->tx_curr_frame_payload - skb_out->len); - usbnet_set_skb_tx_stats(skb_out, n); - return skb_out; exit_no_skb: