Loading
net: hns3: don't add the len of vlan head if skb_vlan_pop failed
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAN3KC CVE: NA ---------------------------------------------------------------------- skb_vlan_pop might return an error if pop vlan head failed. In that case, the length of vlan head cannot be counted in tx_bytes. Fixes: 0b68f477 ("net: hns3: support arp proxy") Signed-off-by:Peiyang Wang <wangpeiyang1@huawei.com>