Relese the interface in the last.
Reviewed by: glebius Approved by: re (kib)
This commit is contained in:
parent
3aaea6efd5
commit
1f6addd92c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255397
@ -1605,12 +1605,12 @@ carp_free_if(struct carp_if *cif)
|
||||
|
||||
IF_ADDR_WLOCK(ifp);
|
||||
ifp->if_carp = NULL;
|
||||
if_rele(ifp);
|
||||
IF_ADDR_WUNLOCK(ifp);
|
||||
|
||||
CIF_LOCK_DESTROY(cif);
|
||||
|
||||
ifpromisc(ifp, 0);
|
||||
if_rele(ifp);
|
||||
|
||||
free(cif, M_CARP);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user