Date: Sun, 8 Apr 2007 10:47:38 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 117642 for review Message-ID: <200704081047.l38AlcGV019517@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=117642 Change 117642 by rdivacky@rdivacky_witten on 2007/04/08 10:47:21 In the case of illegal values just set msg.msg_control to NULL. it lets ping work too. Suggested by: rwatson Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_socket.c#14 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_socket.c#14 (text+ko) ==== @@ -1034,7 +1034,7 @@ * checking but now it lets ping work. */ if (msg.msg_control && msg.msg_controllen == 0) - msg.msg_controllen = sizeof(struct cmsghdr); + msg.msg_control = NULL; if (error) return (error);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704081047.l38AlcGV019517>