The following reply was made to PR kern/149227; it has been noted by GNATS.

From: [email protected] (dfilter service)
To: [email protected]
Cc:  
Subject: Re: kern/149227: commit references a PR
Date: Tue,  3 Aug 2010 11:23:59 +0000 (UTC)

 Author: kib
 Date: Tue Aug  3 11:23:44 2010
 New Revision: 210796
 URL: http://svn.freebsd.org/changeset/base/210796
 
 Log:
   When compat32 recvmsg(2) does not need to copy out control messages, set
   msg_controllen to 0.
   
   PR:  kern/149227
   Submitted by:        Stef Walter <stef memberwebs com>
   MFC after:   1 weeks
 
 Modified:
   head/sys/compat/freebsd32/freebsd32_misc.c
 
 Modified: head/sys/compat/freebsd32/freebsd32_misc.c
 ==============================================================================
 --- head/sys/compat/freebsd32/freebsd32_misc.c Tue Aug  3 11:21:17 2010        
(r210795)
 +++ head/sys/compat/freebsd32/freebsd32_misc.c Tue Aug  3 11:23:44 2010        
(r210796)
 @@ -1059,6 +1059,8 @@ freebsd32_recvmsg(td, uap)
                
                if (control != NULL)
                        error = freebsd32_copy_msg_out(&msg, control);
 +              else
 +                      msg.msg_controllen = 0;
                
                if (error == 0)
                        error = freebsd32_copyoutmsghdr(&msg, uap->msg);
 _______________________________________________
 [email protected] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[email protected]"
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to