Date: Thu, 5 Feb 2009 15:04:23 +0000 (UTC) From: Jamie Gritton <jamie@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet6 udp6_usrreq.c Message-ID: <200902051504.n15F4Z82053556@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jamie 2009-02-05 15:04:23 UTC
FreeBSD src repository
Modified files:
sys/netinet6 udp6_usrreq.c
Log:
SVN rev 188151 on 2009-02-05 15:04:23Z by jamie
Don't bother null-checking the thread pointer before the prison checks
in udp6_connect (td is already dereferenced elsewhere without such a
check). This makes the conversion from a sockaddr to a sockaddr_in6
always happen, so convert once at the beginning of the function rather
than twice in the middle.
Approved by: bz (mentor)
Revision Changes Path
1.107 +22 -27 src/sys/netinet6/udp6_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902051504.n15F4Z82053556>
