On Thu, Mar 15, 2018 at 11:10:42AM +0200, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > The restrack code relies on the fact that object structures are zeroed at > the allocation stage, the mlx4 CQ wasn't allocated with kzalloc and it > caused to the following crash. > [..] > > Fixes: 00313983cda6 ("RDMA/nldev: provide detailed CM_ID information") > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> > --- > Changelog: > v1 -> v2: > Set res->task to be NULL for all objects except RDMA_RESTRACK_CM_ID > --- > drivers/infiniband/core/restrack.c | 4 +++- > 1 file changed, 3 insertions(+), 1 Applied to for-next, thanks Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html