[openib-general] Re: [PATCH] sockaddr_ll change for IPoIB	interface
    Talpey, Thomas 
    Thomas.Talpey at netapp.com
       
    Fri Aug 12 06:52:19 PDT 2005
    
    
  
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.
    
    
More information about the general
mailing list