On Fri, 11 Sep 2015, Doug Ledford wrote: > > At a minimum, when the socket that did the send closes the send-only > > could be de-refed.. > > If we kept a ref count, but we don't. Tracking this is not a small change.
We could call ip_mc_join_group() from ipoib_mcast_send() which would join it at the socket layer. That layer would do the tracking for us and leave the group when the process terminates. The join would be visible the same way as if one would have done an explicit setsockopt(). -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html