> -----Original Message-----
> From: dev <[email protected]> On Behalf Of Zhao1, Wei
> Sent: Thursday, July 16, 2020 5:16 PM
> To: Guo, Jia <[email protected]>
> Cc: [email protected]; [email protected]
> Subject: Re: [dpdk-dev] net/e1000: fix segfault on tx done clean up
>
>
> Reviewed-by: Wei Zhao <[email protected]>
>
> > -----Original Message-----
> > From: Guo, Jia <[email protected]>
> > Sent: Thursday, July 16, 2020 4:54 PM
> > To: Zhao1, Wei <[email protected]>
> > Cc: [email protected]; [email protected]; Guo, Jia <[email protected]>
> > Subject: [dpdk-dev] net/e1000: fix segfault on tx done clean up
> >
> > As tx mbuf is not set for some advanced descriptors, if there is no
> > mbuf checking before rte_pktmbuf_free_seg() function be called on the
> > process of tx done clean up, that will cause a segfault. So add a NULL
> > pointer
> check to fix it.
> >
> > Bugzilla ID: 501
> > Fixes: 8d907d2b79f7 (net/igb: free consumed Tx buffers on demand)
> >
> > Signed-off-by: Jeff Guo <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi