Taken the fix from BRCM SAI 4.2.1.3 (6.5.19 hsdk). (#5550)

The error message is updated to provide correct information
of Netdevice link being down.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This commit is contained in:
abdosi 2020-10-06 09:04:51 -07:00 committed by GitHub
parent 3a29249e04
commit 7db8cb0e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);