numam-dpdk/drivers/net
Asaf Penso 3f22e3153f net/mlx5: check memory allocation in flow creation
rte_calloc functions returns a non-null pointer in case of
success and null pointer in case of failure.

The return value should be checked and the function flow
should take that into consideration.

This patch adds a check for rte_calloc return value in function
flow_list_create.

Fixes: 84c406e745 ("net/mlx5: add flow translate function")
Cc: stable@dpdk.org

Signed-off-by: Asaf Penso <asafp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-07-05 01:52:02 +02:00
..
af_packet net/af_packet: set default block size to page size 2019-07-05 01:52:01 +02:00
af_xdp drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
ark drivers/net: fix double free on init failure 2019-06-28 20:31:49 +02:00
atlantic net/atlantic: add missing experimental API tags 2019-06-29 19:04:37 +02:00
avp drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
axgbe drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
bnx2x drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
bnxt mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
bonding net/bonding: remove unnecessary cast 2019-06-13 23:54:29 +09:00
cxgbe net/cxgbe: remove unnecessary cast 2019-06-13 23:54:29 +09:00
dpaa drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
dpaa2 drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
e1000 net: move TCP flags from ethdev header 2019-07-03 12:57:30 +02:00
ena net/ena: fix assigning NUMA node to IO queue 2019-06-13 23:54:30 +09:00
enetc drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
enic net/enic: remove flow locks 2019-06-14 00:01:06 +09:00
failsafe eal: fix positive error codes from probe/remove 2019-06-29 21:28:38 +02:00
fm10k mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
hinic net/hinic: add RSS stats and promiscuous ops 2019-06-28 20:31:49 +02:00
i40e net/i40e: fix crash when TxQ/RxQ set to 0 in VF 2019-07-05 01:52:01 +02:00
iavf mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
ice net/ice: support UDP tunnelling port 2019-07-03 12:57:30 +02:00
ifc drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
ipn3ke net/ipn3ke: modify AFU configurations 2019-07-03 12:57:30 +02:00
ixgbe net: move TCP flags from ethdev header 2019-07-03 12:57:30 +02:00
kni drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
liquidio net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
memif net/memif: support multi-process 2019-06-28 20:32:18 +02:00
mlx4 eal: hide shared memory config 2019-07-06 10:32:34 +02:00
mlx5 net/mlx5: check memory allocation in flow creation 2019-07-05 01:52:02 +02:00
mvneta net/mvneta: optimize checksum generation offload 2019-07-03 12:57:30 +02:00
mvpp2 drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
netvsc net/netvsc: fix definition of offload values 2019-07-05 01:52:01 +02:00
nfb net/nfb: support Silicom Mango card 2019-07-03 12:57:30 +02:00
nfp drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
null net/null: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
octeontx net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
octeontx2 net/octeontx2: add link status operations 2019-07-05 01:52:02 +02:00
pcap drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
qede net/qede: fix warnings from invalid assert 2019-06-24 12:25:03 +01:00
ring net/ring: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
sfc net/sfc: release port upon close 2019-07-05 01:52:01 +02:00
softnic drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
szedata2 net/szedata2: support Silicom Mango card 2019-07-03 12:57:30 +02:00
tap drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
thunderx drivers/net: fix double free on init failure 2019-06-28 20:31:49 +02:00
vdev_netvsc drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
vhost drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
virtio mem: add API to lock/unlock memory hotplug 2019-07-05 22:12:40 +02:00
vmxnet3 net/vmxnet3: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
Makefile net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00
meson.build net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00