diff options
author | 2018-02-15 19:50:52 +0000 | |
---|---|---|
committer | 2018-02-26 12:36:46 -0800 | |
commit | 46345b38e917bd2f27b3730adaa67e4160e1d94d (patch) | |
tree | 6f15c0279b2064058e11928ff1124c436ee71824 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40evf: pass struct virtchnl_filter by reference rather than by value (diff) | |
download | linux-dev-46345b38e917bd2f27b3730adaa67e4160e1d94d.tar.xz linux-dev-46345b38e917bd2f27b3730adaa67e4160e1d94d.zip |
i40e: check that pointer VSI is not null before dereferencing it
Function i40e_find_vsi_from_id can potentially return null, hence
VSI may be null, so defensively check it is non-null before
dereferencing it to check the seid.
Fixes: e284fc280473 ("i40e: Add and delete cloud filter")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Avinash Dayanand <avinash.dayanand@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions