]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2772c9c3120530fb2e16921f0fc25fe255747d4
treee3a7a0765510a0f85d1bb2d940828110dda1bb5c
parenta6b6ebf6b1fe52011f29caa109ca5237d0920153
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