Date: Fri, 18 Jul 1997 02:14:12 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/route route.c Message-ID: <199707180914.CAA27882@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 1997/07/18 02:14:12 PDT Modified files: (Branch: RELENG_2_2) sbin/route route.c Log: MFC: fix what appears to me to be absolutle bogus code to do with netmasks.. we fed totally bogus data into the kernel to do with default routes and it just believed us. This led to: 1/ kernel panics 2/ the default route refusing to be deleted or added (depending on a number of factors, usually it worked ok.) I've test this all I can and it should stop panicing the kernel.. Never feed a sockaddr to the kernel without filling in the length (and preferably the family). The kernel is about to enforce this (again) so (this time) let's get the user programs working first. Revision Changes Path 1.16.2.5 +7 -6 src/sbin/route/route.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707180914.CAA27882>