diff options
author | Tymoteusz Kielan <tymoteusz.kielan@intel.com> | 2016-07-25 23:38:01 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 23:00:58 +0300 |
commit | 1b23f02cf4bbe644028077539b1045f742d61fa2 (patch) | |
tree | 98ee56a58da6cc05372905bd9520aca40ac99d1a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3210314ad305d554e7bfce5281b31ce80afa5f15 (diff) | |
download | linux-1b23f02cf4bbe644028077539b1045f742d61fa2.tar.xz |
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 <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Andrzej Kacprowski <andrzej.kacprowski@intel.com>
Signed-off-by: Tymoteusz Kielan <tymoteusz.kielan@intel.com>
Signed-off-by: Andrzej Kacprowski <andrzej.kacprowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions