summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/bootp_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index 50f3b1f..d77f8f7 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -375,7 +375,9 @@ bootpboot_p_rtlist(void)
{
printf("Routing table:\n");
+ RADIX_NODE_LOCK(rt_tables[AF_INET]); /* could sleep XXX */
bootpboot_p_tree(rt_tables[AF_INET]->rnh_treetop);
+ RADIX_NODE_UNLOCK(rt_tables[AF_INET]);
}
void
OpenPOWER on IntegriCloud