]> git.baikalelectronics.ru Git - kernel.git/commit
[IB] mthca: Avoid SRQ free WQE list corruption
authorRoland Dreier <rolandd@cisco.com>
Sun, 30 Oct 2005 21:07:03 +0000 (13:07 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 31 Oct 2005 15:10:32 +0000 (07:10 -0800)
commit860df35be8aa4de8b4c210941ca1b3ebb9ac4d7f
treec29760bafd7107252389712965ad7e4ed0791a82
parentd11af59d4a2c935b884133d9881d1287405ba3d4
[IB] mthca: Avoid SRQ free WQE list corruption

Fix wqe_to_link() to use a structure field that we know is definitely
always unused for receive work requests, so that it really avoids the
free list corruption bug that the comment claims it does.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_srq.c