diff options
author | Christoph Lameter <cl@linux.com> | 2015-09-24 20:00:05 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-09-25 21:43:19 +0300 |
commit | bd99b2e05c4df2a428e5c9dd338289089d0e26df (patch) | |
tree | a8dd55afe17b807e35c78e82d71ea51dc470d658 /drivers/infiniband/ulp/ipoib/ipoib.h | |
parent | 81fb5e26a9d05674c048803a20cb8f08a1b1c9b8 (diff) | |
download | linux-bd99b2e05c4df2a428e5c9dd338289089d0e26df.tar.xz |
IB/ipoib: Expire sendonly multicast joins
On neighbor expiration, check to see if the neighbor was actually a
sendonly multicast join, and if so, leave the multicast group as we
expire the neighbor.
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index ca2873698d75..4ff4e5290354 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -548,6 +548,8 @@ void ipoib_path_iter_read(struct ipoib_path_iter *iter, int ipoib_mcast_attach(struct net_device *dev, u16 mlid, union ib_gid *mgid, int set_qkey); +int ipoib_mcast_leave(struct net_device *dev, struct ipoib_mcast *mcast); +struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid); int ipoib_init_qp(struct net_device *dev); int ipoib_transport_dev_init(struct net_device *dev, struct ib_device *ca); |