numam-dpdk/drivers/net/vmxnet3
Stephen Hemminger eb49f1671f net/vmxnet3: handle bad host framing
The VMXNet3 protocol has a start-of-packet (SOP) and end-of-packet (EOP)
marker. If there was a bug where mbuf arrived without SOP the code that
chains the mbuf would dereference a null pointer.
Also, record any mbuf's dropped in statistics.

Although did the initial code no longer have access to VMware.
Compile tested only!

Coverity issue: 124563
Fixes: 8ee787ce80 ("vmxnet3: remove asserts that confuse coverity")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Yong Wang <yongwang@vmware.com>
2020-05-18 20:35:57 +02:00
..
base net/vmxnet3: remove local bool type 2020-01-17 19:46:02 +01:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_pmd_vmxnet3_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
vmxnet3_ethdev.c net/vmxnet3: support MTU set 2020-04-21 13:57:06 +02:00
vmxnet3_ethdev.h net/vmxnet3: fix RSS setting on v4 2020-03-18 10:21:41 +01:00
vmxnet3_logs.h net/vmxnet3: implement dynamic logging 2018-01-16 18:47:49 +01:00
vmxnet3_ring.h net/vmxnet3: increase Rx data ring descriptor size 2018-04-27 15:54:56 +01:00
vmxnet3_rxtx.c net/vmxnet3: handle bad host framing 2020-05-18 20:35:57 +02:00