summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2010-03-07 15:37:58 +0000
committerbz <bz@FreeBSD.org>2010-03-07 15:37:58 +0000
commit07f7a52d59d6367b005938bd29cbef2e842616f0 (patch)
tree726585957fe76b49db7a3b6d6ea68ef15cac8f3c /sys/net/radix.c
parentdeb0e164a337104a7ed077cc7a95bc181d47b89d (diff)
downloadFreeBSD-src-07f7a52d59d6367b005938bd29cbef2e842616f0.zip
FreeBSD-src-07f7a52d59d6367b005938bd29cbef2e842616f0.tar.gz
Not only flush the ipfw tables when unloading ipfw or tearing
down a virtual netowrk stack, but also free the Radix Node Head. Sponsored by: ISPsystem Reviewed by: julian MFC after: 5 days
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r--sys/net/radix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 24650e7..9f2383d 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -1161,7 +1161,6 @@ rn_inithead(head, off)
return (1);
}
-#ifdef VIMAGE
int
rn_detachhead(void **head)
{
@@ -1177,7 +1176,6 @@ rn_detachhead(void **head)
*head = NULL;
return (1);
}
-#endif
void
rn_init(int maxk)
OpenPOWER on IntegriCloud