summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpih-mul.c
diff options
context:
space:
mode:
authorLiang Zhen <liang.zhen@intel.com>2016-03-02 18:53:28 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-02 16:01:38 -0800
commit82fffff4afe93f90af4d023e3ee943b5c3be039c (patch)
tree0e32b0391bf2b0974347430a96f756e3f7268082 /lib/mpi/mpih-mul.c
parenta70d69ae888f03b2bc754020baabdb1d6ad4782d (diff)
downloadlinux-82fffff4afe93f90af4d023e3ee943b5c3be039c.tar.bz2
staging: lustre: check wr_id returned by ib_poll_cq
If ib_poll_cq returned +ve without initialising ib_wc::wr_id (bug in driver), then o2iblnd will run into unpredictable situation because ib_wc::wr_id may refer to stale tx/rx pointer in stack. It indicates bug in HCA driver if this happened, ko2iblnd should output console error then close current connection. This patch could also be helpful for LU-5271 Signed-off-by: Liang Zhen <liang.zhen@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-519 Reviewed-on: http://review.whamcloud.com/12747 Reviewed-by: Isaac Huang <he.huang@intel.com> Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: James Simmons <uja.ornl@yahoo.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpih-mul.c')
0 files changed, 0 insertions, 0 deletions