aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r--drivers/net/macvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 1b78c0057a8d..4e238afab4a3 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -239,7 +239,7 @@ netdev_tx_t macvlan_start_xmit(struct sk_buff *skb,
239 int ret; 239 int ret;
240 240
241 ret = macvlan_queue_xmit(skb, dev); 241 ret = macvlan_queue_xmit(skb, dev);
242 if (likely(ret == NET_XMIT_SUCCESS)) { 242 if (likely(ret == NET_XMIT_SUCCESS || ret == NET_XMIT_CN)) {
243 txq->tx_packets++; 243 txq->tx_packets++;
244 txq->tx_bytes += len; 244 txq->tx_bytes += len;
245 } else 245 } else