Date: Sun, 8 Sep 2013 18:19:40 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255397 - head/sys/netinet Message-ID: <201309081819.r88IJeJL062695@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309081819.r88IJeJL062695>