diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2010-03-07 15:37:58 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2010-03-07 15:37:58 +0000 |
commit | e253cdd07c2b4384c05431c4767f0e2c3a9a6a79 (patch) | |
tree | 726585957fe76b49db7a3b6d6ea68ef15cac8f3c /sys/net | |
parent | 0019284ae82e5950e0c142c9411265ef61d31b21 (diff) | |
download | src-e253cdd07c2b4384c05431c4767f0e2c3a9a6a79.tar.gz src-e253cdd07c2b4384c05431c4767f0e2c3a9a6a79.zip |
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
Notes
Notes:
svn path=/head/; revision=204837
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/radix.c | 2 | ||||
-rw-r--r-- | sys/net/radix.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c index 24650e778aab..9f2383d7c7cf 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) diff --git a/sys/net/radix.h b/sys/net/radix.h index e8bbe257864a..29659b546519 100644 --- a/sys/net/radix.h +++ b/sys/net/radix.h @@ -162,9 +162,7 @@ struct radix_node_head { void rn_init(int); int rn_inithead(void **, int); -#ifdef VIMAGE int rn_detachhead(void **); -#endif int rn_refines(void *, void *); struct radix_node *rn_addmask(void *, int, int), |