Date: Fri, 25 Jun 1999 06:43:32 -0700 (PDT) From: Pierre Beyssac <pb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net radix.c Message-ID: <199906251343.GAA91974@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
pb 1999/06/25 06:43:32 PDT Modified files: sys/net radix.c Log: Never return the root node itself from rn_match(); return NULL instead. This caused a panic in rtfreee() called with a root node from the routing socket code (when processing a RTM_GET message looking for the default route while there is none). Since no existing code seems to have any use getting the root node from rn_match(), it seems cleaner never to return it rather than check for this condition at the caller's. PR: kern/12265 Revision Changes Path 1.18 +5 -2 src/sys/net/radix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906251343.GAA91974>