[openib-general] [PATCH] libibsa: userspace SA query and multicast support

Hal Rosenstock halr at voltaire.com
Tue Aug 29 05:19:55 PDT 2006


On Wed, 2006-08-23 at 17:26, Sean Hefty wrote:
> Roland Dreier wrote:
> > What's the plan for how this would be used?  We can't let unprivileged
> > userspace processes talk to the SA, because they could cause problems
> > like deleting someone else's multicast group membership.  And I don't
> > think we want to try to do some elaborate filtering in the kernel, do we?
> 
> The ibv_sa_send_mad() routine can only be used to issue the following methods:
> 
> GET, SEND, GET_TABLE, GET_MULTI, and GET_TRACE_TABLE

Why SEND ? In general, couldn't it be used like SET/DELETE (in addition
to being used like the GET method variants) ? Also, the SA doesn't use
the SEND method.

-- Hal

> I do check for this in the kernel, but that is the extent of any filtering 
> that's done.  Multicast operations must go through the multicast join / free 
> calls, which drop into the kernel to interface with the ib_multicast module.
> 
> I would expect that other SET / DELETE type operations would be treated similar 
> to how multicast is handled.
> 
> I'm expecting that the labs will use at least the multicast interfaces based on 
> e-mail conversations, but without path record query support, the userspace CM 
> interface isn't all that useful.
> 
> - Sean
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 





More information about the general mailing list