numam-dpdk/drivers/net/e1000
Jeff Guo 4237be2b9e net/e1000: fix crash 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: 8d907d2b79 ("net/igb: free consumed Tx buffers on demand")
Cc: stable@dpdk.org

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
2020-07-21 13:54:54 +02:00
..
base net/e1000/base: update version 2020-07-07 23:38:27 +02:00
e1000_ethdev.h net/igb: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
e1000_logs.c net/e1000: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:57 +02:00
e1000_logs.h net/e1000: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:57 +02:00
em_ethdev.c net/e1000: fix port hotplug for multi-process 2020-05-18 20:35:07 +02:00
em_rxtx.c drivers/net: delete HW rings while freeing queues 2020-07-11 06:18:54 +02:00
igb_ethdev.c net/e1000: fix port hotplug for multi-process 2020-05-18 20:35:07 +02:00
igb_flow.c net/e1000: fix zeroing of RSS config 2019-10-25 19:20:47 +02:00
igb_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
igb_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
igb_rxtx.c net/e1000: fix crash on Tx done clean up 2020-07-21 13:54:54 +02:00
Makefile net/e1000/base: remove duplicated codes 2020-07-07 23:38:27 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_pmd_e1000_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00