RDMA/cxgb4: rx_data() needs to hold the ep mutex
authorSteve Wise <swise@opengridcomputing.com>
Fri, 21 Mar 2014 15:10:37 +0000 (20:40 +0530)
committerRoland Dreier <roland@purestorage.com>
Wed, 2 Apr 2014 15:53:54 +0000 (08:53 -0700)
commitc529fb50463992982c246155e095577aa0485f57
treea25ce0a83d90860a7266419baddff6f3da55a581
parent977116c69862a6062f302395cb3546544d7e1bc1
RDMA/cxgb4: rx_data() needs to hold the ep mutex

To avoid racing with other threads doing close/flush/whatever, rx_data()
should hold the endpoint mutex.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c