summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/net/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/net/route.h')
-rw-r--r--freebsd/sys/net/route.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/freebsd/sys/net/route.h b/freebsd/sys/net/route.h
index 28f1db01..15ec1b3e 100644
--- a/freebsd/sys/net/route.h
+++ b/freebsd/sys/net/route.h
@@ -410,10 +410,8 @@ struct rt_addrinfo {
} while (0)
#define RO_RTFREE(_ro) do { \
- if ((_ro)->ro_rt) { \
- RT_LOCK((_ro)->ro_rt); \
- RTFREE_LOCKED((_ro)->ro_rt); \
- } \
+ if ((_ro)->ro_rt) \
+ RTFREE((_ro)->ro_rt); \
} while (0)
#define RO_INVALIDATE_CACHE(ro) do { \