At 09:01 AM 8/12/2005, Hal Rosenstock wrote:
>It is done to preserve length checks that were already there (on struct
>msghdr in packet_sendmsg and addr_len in packet_bind). I didn't want to
>weaken that.

Are you sure things break if you simply build a message in user space
that's got the larger address (without changing the sockaddr_ll at all)?
It looks to me as if msg->msg_namelen/msg_name can be any appropriate
size which is at least as large as the sockaddr_ll.

Tom.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to