aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4
diff options
context:
space:
mode:
authorHariprasad S <hariprasad@chelsio.com>2016-05-06 22:18:05 +0530
committerDoug Ledford <dledford@redhat.com>2016-05-13 19:38:09 -0400
commitceb110a8c1518f54913568bf84f84df573db99e4 (patch)
tree080c53c9475f5e1bcf38de41ee494e9c5022c8d7 /drivers/infiniband/hw/cxgb4
parentRDMA/iw_cxgb4: Free skb in case of arp failure in _c4iw_free_ep() (diff)
downloadlinux-dev-ceb110a8c1518f54913568bf84f84df573db99e4.tar.xz
linux-dev-ceb110a8c1518f54913568bf84f84df573db99e4.zip
RDMA/iw_cxgb4: Release ep for for FPDU_MODE and MPA_REQ_RCVD in process_timeout
ARP failure may also happen when ep in FPDU_MODE and these failures need to be handled by process_timeout(). process_timeout() also has to handle case MPA_REQ_RCVD, setting abort to 1, leading to ep resource release. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 6557240cc6b9..a972067d94cb 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -4038,7 +4038,9 @@ static void process_timeout(struct c4iw_ep *ep)
connect_reply_upcall(ep, -ETIMEDOUT);
break;
case MPA_REQ_WAIT:
+ case MPA_REQ_RCVD:
case MPA_REP_SENT:
+ case FPDU_MODE:
break;
case CLOSING:
case MORIBUND: