diff options
Diffstat (limited to 'sys/netinet/in_rmx.c')
-rw-r--r-- | sys/netinet/in_rmx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/in_rmx.c b/sys/netinet/in_rmx.c index 39f5eed..b762c29 100644 --- a/sys/netinet/in_rmx.c +++ b/sys/netinet/in_rmx.c @@ -388,9 +388,8 @@ in_ifadownkill(struct radix_node *rn, void *xap) */ rt->rt_flags &= ~(RTF_CLONING | RTF_PRCLONING); rtexpunge(rt); - RTFREE_LOCKED(rt); - } else - RT_UNLOCK(rt); + } + RT_UNLOCK(rt); return 0; } |