]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/ipoib: For sendonly join free the multicast group on leave
authorChristoph Lameter <cl@linux.com>
Sun, 11 Oct 2015 23:49:42 +0000 (18:49 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Oct 2015 20:43:59 +0000 (16:43 -0400)
commit0b5c9279e568d90903acedc2b9b832d8d78e8288
tree6dca079bc1801a09f1ac2d5246a62051ad77228a
parentb8cab5dab15ff5c2acc3faefdde28919b0341c11
IB/ipoib: For sendonly join free the multicast group on leave

When we leave the multicast group on expiration of a neighbor we
do not free the mcast structure. This results in a memory leak
that causes ib_dealloc_pd to fail and print a WARN_ON message
and backtrace.

Fixes: bd99b2e05c4d (IB/ipoib: Expire sendonly multicast joins)
Signed-off-by: Christoph Lameter <cl@linux.com>
Tested-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c