Date: Mon, 11 Dec 2006 15:40:12 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 111463 for review Message-ID: <200612111540.kBBFeCC8014327@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111463 Change 111463 by zec@zec_tca51 on 2006/12/11 15:40:09 Set curvnetb in kern_getsockopt(). Affected files ... .. //depot/projects/vimage/src/sys/kern/uipc_syscalls.c#3 edit Differences ... ==== //depot/projects/vimage/src/sys/kern/uipc_syscalls.c#3 (text+ko) ==== @@ -1500,7 +1500,9 @@ error = getsock(td->td_proc->p_fd, s, &fp, NULL); if (error == 0) { so = fp->f_data; + CURVNETB_SET(so->so_vnetb); error = sogetopt(so, &sopt); + CURVNETB_RESTORE(); *valsize = sopt.sopt_valsize; fdrop(fp, td); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612111540.kBBFeCC8014327>