]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite5b251a24a9cd34a7ef98e361eb94e7ab122a554
treec29760bafd7107252389712965ad7e4ed0791a82
parent7162a3e0db34e914a8bc5bf74bbae0b386310cf8
[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