svn commit: r219570 - head/sys/netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Sat Mar 12 17:05:42 UTC 2011


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.


More information about the svn-src-all mailing list