summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicholas Nunley <nicholas.d.nunley@intel.com>2021-06-04 19:48:53 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-11-16 02:40:03 +0300
commit8a4a126f4be88eb8b5f00a165ab58c35edf4ef76 (patch)
tree747df88dfdf546ac834495ae926a64decde78a32 /tools/perf/scripts/python/export-to-postgresql.py
parent4e5e6b5d9d1334d3490326b6922a2daaf56a867f (diff)
downloadlinux-8a4a126f4be88eb8b5f00a165ab58c35edf4ef76.tar.xz
iavf: check for null in iavf_fix_features
If the driver has lost contact with the PF then it enters a disabled state and frees adapter->vf_res. However, ndo_fix_features can still be called on the interface, so we need to check for this condition first. Since we have no information on the features at this time simply leave them unmodified and return. Fixes: c4445aedfe09 ("i40evf: Fix VLAN features") Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com> Tested-by: Tony Brelinski <tony.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions