net/mlx5: DR, Fix freeing in dr_create_rc_qp()
authorDenis Efremov <efremov@linux.com>
Mon, 1 Jun 2020 16:45:26 +0000 (19:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Jun 2020 22:37:53 +0000 (15:37 -0700)
commit47a357de2b6b706af3c9471d5042f9ba8907031e
treea22ae49fe8a88bfa2098f8da854af07156ef3b24
parentb6e0b6bebe0732d5cac51f0791f269d2413b8980
net/mlx5: DR, Fix freeing in dr_create_rc_qp()

Variable "in" in dr_create_rc_qp() is allocated with kvzalloc() and
should be freed with kvfree().

Fixes: 297cccebdc5a ("net/mlx5: DR, Expose an internal API to issue RDMA operations")
Cc: stable@vger.kernel.org
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c