RDMA/amso1100: Fix error path in c2_llp_accept()
authorEric Sesterhenn <snakebyte@gmx.de>
Thu, 28 Sep 2006 17:38:32 +0000 (10:38 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 17:38:32 +0000 (10:38 -0700)
commit44334bd97e76662c5f40c629357e6acc4dee3e8a
treea64a99877e65dcc86b28a45a28c2ca9cb2111126
parent6edf602341cd8f6e79479ff7f5bca72562c1f608
RDMA/amso1100: Fix error path in c2_llp_accept()

Another NULL dereference spotted by the Coverity checker (cid #1395):
In case we can't alloc the vq_req, we goto bail1, where we call
vq_req_free(c2dev, vq_req); which then dereferences vq_req.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Acked-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/c2_cm.c