[dpdk-stable] [dpdk-dev] [PATCH v4 1/5] net/tap: fix mbuf double free when writev fails
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Wed Apr 15 17:08:36 CEST 2020
    
    
  
On 4/11/2020 12:21 PM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at 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: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
    
    
More information about the stable
mailing list