numam-dpdk/drivers/net
Somnath Kotur b308d5a2a7 net/bnxt: cleanup and check ULP context allocation
Set ulp_ctx explicitly to NULL in ulp_ctx_deinit() so that representor
init is aborted if parent ulp context is not initialized.
Also check for the same before creation of port default rules.
Additional checks added in VF rep dev ops for proper parent dev
initialization, to avoid null pointer dereference.

Fixes: 322bd6e702 ("net/bnxt: add port representor infrastructure")
Fixes: 313ac35ac7 ("net/bnxt: support ULP session manager init")
Cc: stable@dpdk.org

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-09-18 18:55:07 +02:00
..
af_packet build: remove makefiles 2020-09-08 00:09:50 +02:00
af_xdp net/af_xdp: change return value from Rx to unsigned 2020-09-18 18:55:07 +02:00
ark build: remove makefiles 2020-09-08 00:09:50 +02:00
atlantic build: remove makefiles 2020-09-08 00:09:50 +02:00
avp build: remove makefiles 2020-09-08 00:09:50 +02:00
axgbe mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
bnx2x build: remove makefiles 2020-09-08 00:09:50 +02:00
bnxt net/bnxt: cleanup and check ULP context allocation 2020-09-18 18:55:07 +02:00
bonding build: remove makefiles 2020-09-08 00:09:50 +02:00
cxgbe build: remove makefiles 2020-09-08 00:09:50 +02:00
dpaa build: remove makefiles 2020-09-08 00:09:50 +02:00
dpaa2 build: remove makefiles 2020-09-08 00:09:50 +02:00
e1000 build: remove makefiles 2020-09-08 00:09:50 +02:00
ena net/ena/base: fix doorbell evaluation for LLQ 2020-09-18 18:55:05 +02:00
enetc build: remove makefiles 2020-09-08 00:09:50 +02:00
enic build: remove makefiles 2020-09-08 00:09:50 +02:00
failsafe net/failsafe: fix double space in warning log 2020-09-18 18:55:06 +02:00
fm10k net/fm10k: use inclusive engineering terminology 2020-09-18 18:55:07 +02:00
hinic net/hinic: fix negative array index read 2020-09-18 18:55:06 +02:00
hns3 net/hns3: support getting queue information 2020-09-18 18:55:06 +02:00
i40e net/i40e/base: update version 2020-09-18 18:55:06 +02:00
iavf net/iavf: release port upon close 2020-09-18 18:55:06 +02:00
ice net/ice: fix flow director GTPU rule creation 2020-09-18 18:55:07 +02:00
igc build: remove makefiles 2020-09-08 00:09:50 +02:00
ionic build: remove makefiles 2020-09-08 00:09:50 +02:00
ipn3ke avoid libfdt checks adding full paths to pkg-config 2020-09-15 15:19:34 +02:00
ixgbe build: remove makefiles 2020-09-08 00:09:50 +02:00
kni build: remove makefiles 2020-09-08 00:09:50 +02:00
liquidio bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
memif build: remove makefiles 2020-09-08 00:09:50 +02:00
mlx4 build: remove makefiles 2020-09-08 00:09:50 +02:00
mlx5 net/mlx5/linux: refactor VLAN 2020-09-18 18:55:06 +02:00
mvneta ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
mvpp2 ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
netvsc net/netvsc: check for overflow on packet info from host 2020-09-18 18:55:06 +02:00
nfb build: remove makefiles 2020-09-08 00:09:50 +02:00
nfp bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
null build: remove makefiles 2020-09-08 00:09:50 +02:00
octeontx ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
octeontx2 mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
pcap build: remove makefiles 2020-09-08 00:09:50 +02:00
pfe mem: remove physical address aliases 2020-09-19 00:25:35 +02:00
qede build: remove makefiles 2020-09-08 00:09:50 +02:00
ring ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
sfc build: remove makefiles 2020-09-08 00:09:50 +02:00
softnic ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
szedata2 build: remove makefiles 2020-09-08 00:09:50 +02:00
tap net/tap: avoid using SIGIO 2020-09-18 18:55:06 +02:00
thunderx build: remove makefiles 2020-09-08 00:09:50 +02:00
vdev_netvsc build: remove makefiles 2020-09-08 00:09:50 +02:00
vhost build: remove makefiles 2020-09-08 00:09:50 +02:00
virtio bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
vmxnet3 build: remove makefiles 2020-09-08 00:09:50 +02:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00