Date: Tue, 19 Apr 2011 08:29:28 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet6 udp6_usrreq.c Message-ID: <201104190829.p3J8TiN5046701@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2011-04-19 08:29:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet6 udp6_usrreq.c Log: SVN rev 220825 on 2011-04-19 08:29:28Z by bz MFC r220463: Remove a check in udp6_send() that prevented v4-mapped v6 addresses from working. We store v4 and v6 addresses as a union but for v4-mapped addresses only store the 32bits w/o the ::ffff: word. That failed the check as for example 127.0.0.1 would be ::7f00:1 rather than ::ffff:7f00:1 and the IN6_IS_ADDR_V4MAPPED() never worked here. Given we can hardly get here with an unbound local address or invalid inp_vflags remove the check. Reported by: tuexen Reviewed by: tuexen Revision Changes Path 1.115.2.4 +0 -13 src/sys/netinet6/udp6_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104190829.p3J8TiN5046701>