Pierre Beyssac cce2eb6a97 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
1999-06-25 13:43:30 +00:00
..
1999-06-23 09:06:18 +00:00
1999-05-31 11:29:30 +00:00
1999-05-13 13:01:46 +00:00
1999-06-24 05:21:19 +00:00
1999-05-31 11:29:30 +00:00
1999-04-27 11:18:52 +00:00
1999-06-23 04:44:14 +00:00
1999-06-23 04:44:14 +00:00
1999-06-23 04:44:14 +00:00
1999-05-31 11:29:30 +00:00
1999-05-31 11:29:30 +00:00