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:
parent
3a29249e04
commit
7db8cb0e03
@ -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);
|
||||
|
Reference in New Issue
Block a user