From owner-p4-projects@FreeBSD.ORG Mon Dec 11 15:40:25 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E1D9F16A560; Mon, 11 Dec 2006 15:40:24 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D4DF16A559 for ; Mon, 11 Dec 2006 15:40:24 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE8543CF2 for ; Mon, 11 Dec 2006 15:38:55 +0000 (GMT) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBBFeCX0014374 for ; Mon, 11 Dec 2006 15:40:12 GMT (envelope-from zec@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBBFeCC8014327 for perforce@freebsd.org; Mon, 11 Dec 2006 15:40:12 GMT (envelope-from zec@FreeBSD.org) Date: Mon, 11 Dec 2006 15:40:12 GMT Message-Id: <200612111540.kBBFeCC8014327@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to zec@FreeBSD.org using -f From: Marko Zec To: Perforce Change Reviews Cc: Subject: PERFORCE change 111463 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 15:40:25 -0000 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); }