From owner-svn-src-head@FreeBSD.ORG Sat Mar 12 17:05:42 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B54931065677; Sat, 12 Mar 2011 17:05:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7878FC23; Sat, 12 Mar 2011 17:05:42 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id B26A725D3899; Sat, 12 Mar 2011 16:49:02 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id DE2DB159A997; Sat, 12 Mar 2011 16:49:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 74+DhPT1a7JQ; Sat, 12 Mar 2011 16:49:01 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id E57B1159A993; Sat, 12 Mar 2011 16:49:00 +0000 (UTC) Date: Sat, 12 Mar 2011 16:49:00 +0000 (UTC) From: "Bjoern A. Zeeb" To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org In-Reply-To: <201103121645.p2CGjF3p024387@svn.freebsd.org> Message-ID: References: <201103121645.p2CGjF3p024387@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: svn commit: r219570 - head/sys/netinet6 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 17:05:42 -0000 On Sat, 12 Mar 2011, Bjoern A. Zeeb wrote: > Author: bz > Date: Sat Mar 12 16:45:15 2011 > New Revision: 219570 > URL: http://svn.freebsd.org/changeset/base/219570 > > Log: > Push a possible "unbind" in some situation from in6_pcbsetport() to > callers. This also fixes a problem when the prison call could set > the inp->in6p_laddr (laddr) and a following priv_check_cred() call > would return an error and will allow us to merge the IPv4 and IPv6 > implementation. While for IPv4 most of the calls were adjusted that we do not pass the inp->inp_laddr directly but a working copy and merge them back at the end if there was no error. For IPv6 these changes were not really done. Since we have started to fix that partly, but we should do a full sweep. /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.