Date: Mon, 20 Apr 2009 11:22:51 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/ppp route.c Message-ID: <200904201123.n3KBN1El026656@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-04-20 11:22:51 UTC FreeBSD src repository Modified files: usr.sbin/ppp route.c Log: SVN rev 191305 on 2009-04-20 11:22:51Z by bz Back out r186308: in case of AF_LINK, which the kernel still returns for an RTAX_GATEWAY as an empty sockaddr_dl in the classic tun<n> case. Copying the address into the message payload, but not the RTA_GATEWAY flag results in rt_xaddrs() in the kernel tripping over that and parsing the next attribute set with a flag, i.e. RTA_NETMASK, with the gateway address, resulting in bogus route entry. MFC after: 3 days Revision Changes Path 1.97 +1 -3 src/usr.sbin/ppp/route.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904201123.n3KBN1El026656>