Tom Tucker wrote:
> The only "correct" way would be to declare a sockaddr structure * to a
> struct socket_storage allocated buffer and waste 4 bytes in the rdma_cm_id
> structure.
>
> Anyway, it's buggin' me...Maybe I'm being anal...
>
> Thoughts?
We could change the definition to something similar in the kernel:
struct sockaddr src_addr;
u8 src_pad[sizeof(struct sockaddr_storage) -
sizeof(struct sockaddr)];
I'm guessing this sort of change wouldn't require any changes to any of the
clients.
- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general