diff options
| author | Tymoteusz Kielan <[email protected]> | 2016-07-25 13:38:01 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-08-02 16:00:58 -0400 |
| commit | 1b23f02cf4bbe644028077539b1045f742d61fa2 (patch) | |
| tree | 98ee56a58da6cc05372905bd9520aca40ac99d1a /tools/perf/scripts/python | |
| parent | 3210314ad305d554e7bfce5281b31ce80afa5f15 (diff) | |
IB/hfi1: Fix to fully initialize send context area
While handling buffer control MAD, partially initialized
dd->kernel_send_context area may cause potential dereference
of uninitialized pointers. Fix by using kzalloc_node()
instead of kmalloc_node().
Reviewed-by: Mike Marciniszyn <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Andrzej Kacprowski <[email protected]>
Signed-off-by: Tymoteusz Kielan <[email protected]>
Signed-off-by: Andrzej Kacprowski <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions