Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/ice
Jesse Brandeburg 949375de94 ice: fix stack leakage
In the case of an invalid virtchannel request the driver
would return uninitialized data to the VF from the PF stack
which is a bug.  Fix by initializing the stack variable
earlier in the function before any return paths can be taken.

Fixes: 1071a8358a ("ice: Implement virtchnl commands for AVF support")
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-11-22 13:09:31 -08:00
..
2019-11-08 12:03:03 -08:00
2019-11-08 12:02:14 -08:00
2019-11-08 12:02:14 -08:00
2019-11-08 12:02:14 -08:00
2019-11-06 16:41:45 -08:00
2019-11-08 12:02:14 -08:00
2018-03-26 09:59:08 -07:00
2019-01-15 12:38:44 -08:00
2019-11-06 16:41:45 -08:00
2019-11-22 13:09:31 -08:00
2019-11-04 12:01:55 -08:00
2019-11-04 12:01:55 -08:00
2019-11-08 12:02:14 -08:00
2019-11-08 12:02:14 -08:00