Date: Sat, 19 Mar 2011 19:08:54 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <201103191909.p2JJ9C7n089775@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2011-03-19 19:08:54 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: SVN rev 219779 on 2011-03-19 19:08:54Z by bz Properly check for an IPv4 socket after r219579. In some cases as udp6_connect() without an earlier bind(2) to an address, v4-mapped scokets allowed and a non mapped destination address, we can end up here with both v4 and v6 indicated: inp_vflag = (INP_IPV4|INP_IPV6|INP_IPV6PROTO) In that case however laddrp is NULL as the IPv6 path does not pass in a copy currently. Reported by: Pawel Worach (pawel.worach gmail.com) Tested by: Pawel Worach (pawel.worach gmail.com) MFC after: 6 days X-MFC with: r219579 Revision Changes Path 1.272 +2 -2 src/sys/netinet/in_pcb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103191909.p2JJ9C7n089775>