diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2021-06-04 09:48:58 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-11-15 15:40:04 -0800 |
commit | 131b0edc4028bb88bb472456b1ddba526cfb7036 (patch) | |
tree | a624ab8884db29f01d89dd4a1cc669d7e9d52de6 /drivers/dma-buf | |
parent | 4f0400803818f2642f066d3eacaf013f23554cc7 (diff) |
iavf: validate pointers
In some cases, the ethtool get_rxfh handler may be called with a null
key or indir parameter. So check these pointers, or you will have a very
bad day.
Fixes: 43a3d9ba34c9 ("i40evf: Allow PF driver to configure RSS")
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Tony Brelinski <tony.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions