[dpdk-dev] net/e1000: fix segfault on tx done clean up
Zhang, Qi Z
qi.z.zhang at intel.com
Tue Jul 21 07:40:22 CEST 2020
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Zhao1, Wei
> Sent: Thursday, July 16, 2020 5:16 PM
> To: Guo, Jia <jia.guo at intel.com>
> Cc: bmcfall at redhat.com; dev at dpdk.org
> Subject: Re: [dpdk-dev] net/e1000: fix segfault on tx done clean up
>
>
> Reviewed-by: Wei Zhao <wei.zhao1 at intel.com>
>
> > -----Original Message-----
> > From: Guo, Jia <jia.guo at intel.com>
> > Sent: Thursday, July 16, 2020 4:54 PM
> > To: Zhao1, Wei <wei.zhao1 at intel.com>
> > Cc: bmcfall at redhat.com; dev at dpdk.org; Guo, Jia <jia.guo at intel.com>
> > 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 <jia.guo at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the dev
mailing list