]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb3: Don't complete flushed send work requests twice
authorSteve Wise <swise@opengridcomputing.com>
Wed, 29 Apr 2009 22:15:59 +0000 (15:15 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 29 Apr 2009 22:15:59 +0000 (15:15 -0700)
commit17636204d6be4aa967afd18c7e496db0905e3638
tree1d4635d10ed0a9f1e4d6f1893321d9dadc0b4cf6
parent28db890f2adf8eddf51245934a1d1cf22f3b6801
RDMA/cxgb3: Don't complete flushed send work requests twice

When the SQ is flushed, mark the flushed entries as not signaled so
the poll logic doesn't re-insert the CQ entry thinking its an out of
order completion.

The bug can cause the NFS/RDMA server to crash due to processing the
same completed work request twice.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c