IB/SA: Use correct free function
authorMark Bloch <markb@mellanox.com>
Fri, 6 May 2016 19:45:27 +0000 (22:45 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:40:02 +0000 (19:40 -0400)
commit0f377d86252d11bfea941852785e3094b93601a7
tree8d47da8aede94ea4999246c7f65a304e0c94d0b4
parent2fa2d4fb1166d1ef35f0aacac6165d53ab1b89c7
IB/SA: Use correct free function

Fixes a direct call to kfree_skb when nlmsg_free should be used.

Fixes: 2ca546b92a02 ('IB/sa: Route SA pathrecord query through netlink')
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/sa_query.c