summaryrefslogtreecommitdiffstats
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-12-07 21:15:43 +0000
committerkmacy <kmacy@FreeBSD.org>2008-12-07 21:15:43 +0000
commit598b522b42d772cdb7895eda77507500d0507864 (patch)
tree16533ece1c017ec68e8457a3d70ddbcf41a9dec9 /sys/net/route.h
parenteaa93f5a2f480f7198abc747e36a95b2e814d0e7 (diff)
downloadFreeBSD-src-598b522b42d772cdb7895eda77507500d0507864.zip
FreeBSD-src-598b522b42d772cdb7895eda77507500d0507864.tar.gz
- convert radix node head lock from mutex to rwlock
- make radix node head lock not recursive - fix LOR in rtexpunge - fix LOR in rtredirect Reviewed by: sam
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 9a01aa6..fb8df39 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -196,6 +196,7 @@ struct ortentry {
#define RTF_BROADCAST 0x400000 /* route represents a bcast address */
#define RTF_MULTICAST 0x800000 /* route represents a mcast address */
/* 0x1000000 and up unassigned */
+#define RTF_RNH_LOCKED 0x40000000 /* radix node head locked by caller */
/* Mask of RTF flags that are allowed to be modified by RTM_CHANGE. */
#define RTF_FMASK \
OpenPOWER on IntegriCloud