[ofa-general] Re: [PATCH/RFC] RDMA/cma: Remove padding arrays by using struct sockaddr_storage

Roland Dreier rdreier at cisco.com
Thu Jul 31 07:27:58 PDT 2008


 > If so, probably it good idea change also functions like
 > rdma_leave_multicast to obtain sockaddr_storage structure, instead of
 > sockaddr and not use casting. Does it make sense?

No, I don't think so.  API functions use struct sockaddr, struct
sockaddr_storage is really just for allocation.

 - R.



More information about the general mailing list