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-05-31 11:29:30 +00:00
1999-05-08 14:23:40 +00:00
1999-05-08 14:23:40 +00:00
1999-03-10 10:11:43 +00:00
1999-03-10 10:11:43 +00:00
1999-02-20 21:03:53 +00:00
1999-04-27 11:18:52 +00:00
1999-04-27 11:18:52 +00:00
1999-03-24 21:20:12 +00:00
1999-05-16 17:09:20 +00:00
1999-03-10 10:11:43 +00:00
1999-04-27 11:18:52 +00:00