diff options
author | 2017-11-14 04:34:23 -0800 | |
---|---|---|
committer | 2017-11-30 16:01:28 -0700 | |
commit | 8935780b9f7bbad0f2eb5dd43f61ba7b509a1575 (patch) | |
tree | d9a657c3cb57275d13bdb7f692d4bedd3101a313 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 4.15-rc1 (diff) | |
download | wireguard-linux-8935780b9f7bbad0f2eb5dd43f61ba7b509a1575.tar.xz wireguard-linux-8935780b9f7bbad0f2eb5dd43f61ba7b509a1575.zip |
IB/hfi1: Initialize bth1 in 16B rc ack builder
It is possible the bth1 variable could be used uninitialized so going
ahead and giving it a default value.
Otherwise we leak stack memory to the network.
Fixes: 5b6cabb0db77 ("IB/hfi1: Add 16B RC/UC support")
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions