aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
diff options
context:
space:
mode:
authorJesse Brandeburg <[email protected]>2019-11-08 14:23:21 +0000
committerJeff Kirsher <[email protected]>2019-11-22 21:09:31 +0000
commit949375de945f7042df2b6488228a1a2b36e69f35 (patch)
tree569bb9fa6b9490579064795caea77f9bb8ffa5ab /drivers/net/ethernet/intel/ice/ice_dcb_lib.c
parentice: Don't modify stripping for add/del VLANs on VF (diff)
downloadkernel-949375de945f7042df2b6488228a1a2b36e69f35.tar.gz
kernel-949375de945f7042df2b6488228a1a2b36e69f35.zip
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: 1071a8358a28 ("ice: Implement virtchnl commands for AVF support") Signed-off-by: Jesse Brandeburg <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions