commit | e4618d40eb3dc1a6d1f55f7150ea25bb23ab410a | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Sep 09 08:15:37 2016 +0100 |
committer | Doug Ledford <dledford@redhat.com> | Fri Sep 16 14:14:23 2016 -0400 |
tree | 587b46a8506c0d8bc6d66a81116e99fadd131bae | |
parent | c1cc72cb6ff95cbe02ed747866576dccab4a5911 [diff] |
IB/rdmavt: Don't vfree a kzalloc'ed memory region The userspace memory region 'mr' is allocated with kzalloc in __rvt_alloc_mr however it is incorrectly being freed with vfree in __rvt_free_mr. Fix this by using kfree to free it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>