diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-02-11 13:34:15 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-11 15:34:54 -0700 |
| commit | a87145957eb9c474559b3acd2cfc6e8914b0e08f (patch) | |
| tree | 608748fbe6ab3d863b8daa3a8dc3fcb5f6b59179 /tools/perf/scripts/python | |
| parent | RDMA/mlx5: Fix memory leak in case we fail to add an IB device (diff) | |
| download | linux-a87145957eb9c474559b3acd2cfc6e8914b0e08f.tar.gz linux-a87145957eb9c474559b3acd2cfc6e8914b0e08f.zip | |
RDMA/bnxt_re: fix or'ing of data into an uninitialized struct member
The struct member comp_mask has not been initialized however a bit
pattern is being bitwise or'd into the member and hence other bit
fields in comp_mask may contain any garbage from the stack. Fix this
by making the bitwise or into an assignment.
Fixes: 95b86d1c91ad ("RDMA/bnxt_re: Update kernel user abi to pass chip context")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
