diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2021-06-04 19:48:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 11:48:36 +0300 |
commit | 9200f8c8600ebeded680c64b45762b441a00504a (patch) | |
tree | 53daf8cd48a62f5028e2af81a838fcce1daae134 /include/kunit | |
parent | 99744c938f96b1d8f0564a95ddd7dfe718bc0c2b (diff) | |
download | linux-9200f8c8600ebeded680c64b45762b441a00504a.tar.xz |
iavf: validate pointers
[ Upstream commit 131b0edc4028bb88bb472456b1ddba526cfb7036 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/kunit')
0 files changed, 0 insertions, 0 deletions