diff options
author | Tony Nguyen <[email protected]> | 2022-12-12 11:00:31 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-13 19:26:36 -0800 |
commit | de5dc44370fbd6b46bd7f1a1e00369be54a041c8 (patch) | |
tree | 0b03a718e29dbdb00e4eb8a18d52b922860acb21 /tools/perf/scripts/python/netdev-times.py | |
parent | e9ad498696325c6b437e49450661cf2c349e24f5 (diff) |
igb: Initialize mailbox message for VF reset
When a MAC address is not assigned to the VF, that portion of the message
sent to the VF is not set. The memory, however, is allocated from the
stack meaning that information may be leaked to the VM. Initialize the
message buffer to 0 so that no information is passed to the VM in this
case.
Fixes: 6ddbc4cf1f4d ("igb: Indicate failure on vf reset for empty mac address")
Reported-by: Akihiko Odaki <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions