[PATCH] net/hinic: fix Tx mbuf length problem

Stephen Hemminger stephen at networkplumber.org
Mon Mar 7 17:06:02 CET 2022


On Mon,  7 Mar 2022 22:12:20 +0800
Junjie Lin <277600718 at qq.com> wrote:

> From: Junjie Lin <linjunjie6 at huawei.com>
> 
> The Tx mbuf needs to be ignored if the pkt_len member is zero.
> 
> Fixes: 54faba2295bd ("net/hinic:adds Tx queue xstats members")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Junjie Lin <linjunjie6 at huawei.com>

Not all drivers do this. It looks like you have a buggy application
if it tries to send 0 length packets.


More information about the dev mailing list