RDMA/cxgb3: Fix information leak in send_abort()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 May 2014 21:04:44 +0000 (00:04 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 27 May 2014 18:55:40 +0000 (11:55 -0700)
commite4514cbd972786af67dd6c442c072685387e22a2
treeabe29fe31e56595691892939cd91286efb5478ba
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
RDMA/cxgb3: Fix information leak in send_abort()

The cpl_abort_req struct has several reserved members which need to be
cleared to avoid disclosing kernel information.  I have added a memset()
so now it matches the cxgb4 version of this function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb3/iwch_cm.c