RDMA/cxgb4: Fix possible memory leak in RX_PKT processing
authorSteve Wise <swise@opengridcomputing.com>
Fri, 21 Mar 2014 15:10:31 +0000 (20:40 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 24 Mar 2014 17:07:35 +0000 (10:07 -0700)
commit1ce1d471acb7ad8e8b8e3a2972de9fbb5f2be79a
treee3a7a0765510a0f85d1bb2d940828110dda1bb5c
parentdbb084cc5f52152f53b5fd22fa76b9bf69904594
RDMA/cxgb4: Fix possible memory leak in RX_PKT processing

If cxgb4_ofld_send() returns < 0, then send_fw_pass_open_req() must
free the request skb and the saved skb with the tcp header.

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