summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2017-06-20 05:57:28 +0000
committerae <ae@FreeBSD.org>2017-06-20 05:57:28 +0000
commit457477d4a00788883d774cda30eda7fa4afa921f (patch)
tree256ce820a420731becb4bd2268199ae1137030c0 /sys/net/route.h
parent5069a7986d5c3dc517d4a5b5eaa0c15207bf71c7 (diff)
downloadFreeBSD-src-457477d4a00788883d774cda30eda7fa4afa921f.zip
FreeBSD-src-457477d4a00788883d774cda30eda7fa4afa921f.tar.gz
MFC r319895:
Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib() with acquired RIB lock. This fixes a possible panic due to trying to acquire RIB rlock when it is already exclusive locked. PR: 215963, 215122 Sponsored by: Yandex LLC Approved by: re (delphij)
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index b6aa36d..d76ed70 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -189,7 +189,7 @@ struct rtentry {
/* 0x8000000 and up unassigned */
#define RTF_STICKY 0x10000000 /* always route dst->src */
-#define RTF_RNH_LOCKED 0x40000000 /* unused */
+#define RTF_RNH_LOCKED 0x40000000 /* radix node head is locked */
#define RTF_GWFLAG_COMPAT 0x80000000 /* a compatibility bit for interacting
with existing routing apps */
OpenPOWER on IntegriCloud