diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2005-10-12 19:52:16 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2005-10-12 19:52:16 +0000 |
| commit | febd0759f34e2faaaed0abf5fafb1071090aef38 (patch) | |
| tree | e685414c2d4a9a0e96a99f9d18fa6ce3780a6fbe /sys/netinet | |
| parent | 680d937a4bf3a6c79bdebd02f25dc976834df0c7 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_carp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 7dd72c17eb127..0e555434b6e89 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -2144,7 +2144,8 @@ carp_modevent(module_t mod, int type, void *data) case MOD_UNLOAD: if_clone_detach(&carp_cloner); while (!LIST_EMPTY(&carpif_list)) - carp_clone_destroy(SC2IFP(LIST_FIRST(&carpif_list))); + ifc_simple_destroy(&carp_cloner, + SC2IFP(LIST_FIRST(&carpif_list))); mtx_destroy(&carp_mtx); break; |
