svn commit: r255397 - head/sys/netinet
Mikolaj Golub
trociny at FreeBSD.org
Sun Sep 8 18:19:40 UTC 2013
Author: trociny
Date: Sun Sep 8 18:19:40 2013
New Revision: 255397
URL: http://svnweb.freebsd.org/changeset/base/255397
Log:
Relese the interface in the last.
Reviewed by: glebius
Approved by: re (kib)
Modified:
head/sys/netinet/ip_carp.c
Modified: head/sys/netinet/ip_carp.c
==============================================================================
--- head/sys/netinet/ip_carp.c Sun Sep 8 17:51:22 2013 (r255396)
+++ head/sys/netinet/ip_carp.c Sun Sep 8 18:19:40 2013 (r255397)
@@ -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);
}
More information about the svn-src-all
mailing list