summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLarysa Zaremba <larysa.zaremba@intel.com>2025-11-17 08:03:49 +0100
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-01-06 15:42:10 -0800
commit4648fb2f2e7210c53b85220ee07d42d1e4bae3f9 (patch)
tree72e23fea5a4a367bc2b60406e09b08becad9ee01 /include/uapi
parent086efe0a1ecc36cffe46640ce12649a4cd3ff171 (diff)
idpf: fix aux device unplugging when rdma is not supported by vport
If vport flags do not contain VIRTCHNL2_VPORT_ENABLE_RDMA, driver does not allocate vdev_info for this vport. This leads to kernel NULL pointer dereference in idpf_idc_vport_dev_down(), which references vdev_info for every vport regardless. Check, if vdev_info was ever allocated before unplugging aux device. Fixes: be91128c579c ("idpf: implement RDMA vport auxiliary dev create, init, and destroy") Reviewed-by: Madhu Chittim <madhu.chittim@intel.com> Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions