Skip to content

Commit

Permalink
Taken the fix from BRCM SAI 4.2.1.3 (6.5.19 hsdk). (#5550)
Browse files Browse the repository at this point in the history
The error message is updated to provide correct information
of Netdevice link being down.

Signed-off-by: Abhishek Dosi <[email protected]>
  • Loading branch information
abdosi authored Oct 6, 2020
1 parent 3a29249 commit 7db8cb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5279,7 +5279,7 @@ bkn_tx(struct sk_buff *skb, struct net_device *dev)
}

if (!netif_carrier_ok(dev)) {
DBG_WARN(("Tx drop: Invalid RCPU encapsulation\n"));
DBG_WARN(("Tx drop: Netif link is down.\n"));
priv->stats.tx_dropped++;
sinfo->tx.pkts_d_no_link++;
dev_kfree_skb_any(skb);
Expand Down

0 comments on commit 7db8cb0

Please sign in to comment.