diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-11-08 13:05:08 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-12-02 23:19:36 -0800 |
commit | ef4603e82f64605e73495c26050f3f236609d991 (patch) | |
tree | b62014c5f7715cadd93b35fbed748b2d10fcce12 /drivers/net/ethernet/intel/i40e/i40e.h | |
parent | e586bb66b57c2a50d464d0f87cf8c7c9c3b36835 (diff) | |
download | op-kernel-dev-ef4603e82f64605e73495c26050f3f236609d991.zip op-kernel-dev-ef4603e82f64605e73495c26050f3f236609d991.tar.gz |
i40evf: protect against NULL msix_entries and q_vectors pointers
Update the functions which free msix_entries and q_vectors so that they
are safe against NULL values. This allows calling code to not care
whether these have already been freed when disabling and freeing them.
Change-ID: I31bfd1c0da18023d971b618edc6fb049721f3298
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
0 files changed, 0 insertions, 0 deletions