[dpdk-stable] [PATCH] net/vhost: fix double free of MAC addrs
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Thu Dec 20 19:20:37 CET 2018
    
    
  
On 12/19/18 5:37 AM, Hideyuki Yamashita wrote:
> The common data freeing has been moved to rte_eth_dev_release_port(),
> so freeing mac_addrs like this in eth_dev_close() is unnecessary and
> will cause double free.
> 
> Fixes: e16adf08e54d ("ethdev: free all common data when releasing port")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki at po.ntt-tx.co.jp>
> Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
> ---
>   drivers/net/vhost/rte_eth_vhost.c | 1 -
>   1 file changed, 1 deletion(-)
> 
Applied to dpdk-next-virtio.
Maxime
    
    
More information about the stable
mailing list