IB/vmw_pvrdma: Don't leak info from alloc_ucontext
authorAdit Ranadive <aditr@vmware.com>
Thu, 19 Jan 2017 21:20:39 +0000 (13:20 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 19:15:28 +0000 (14:15 -0500)
commit7d211c81e97ef8505610ef82e14e302ab415bad1
tree03d04c8ee96b50139f5fc9c639a26d9f85835477
parentb1a27eac7fefff33ccf6acc919fc0725bf9815fb
IB/vmw_pvrdma: Don't leak info from alloc_ucontext

Clear out the user response struct correctly.

Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c