On 4/11/2020 12:21 PM, wangyunjian wrote: > From: Yunjian Wang <wangyunj...@huawei.com> > > When the tap_write_mbufs() function return with break, mbuf was freed > without increasing num_packets, which could cause applications to free > the mbuf again. And the pmd_tx_burst() function should returns the > number of original packets it actually sent excluding tso mbufs. > > Fixes: 9396ad334672 ("net/tap: fix reported number of Tx packets") > CC: sta...@dpdk.org > > Signed-off-by: Yunjian Wang <wangyunj...@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>