Date: Fri, 13 Feb 2009 13:10:04 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: kern/131642: commit references a PR Message-ID: <200902131310.n1DDA4lw079154@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/131642; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/131642: commit references a PR Date: Fri, 13 Feb 2009 13:00:26 +0000 (UTC) Author: maxim Date: Fri Feb 13 12:59:54 2009 New Revision: 188575 URL: http://svn.freebsd.org/changeset/base/188575 Log: o In case of the error do not forget to deallocate a cloned device unit. PR: kern/131642 Submitted by: Dmitrij Tejblum MFC after: 1 week Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan.c ============================================================================== --- head/sys/net/if_vlan.c Fri Feb 13 12:15:45 2009 (r188574) +++ head/sys/net/if_vlan.c Fri Feb 13 12:59:54 2009 (r188575) @@ -746,6 +746,7 @@ vlan_clone_create(struct if_clone *ifc, ether_ifdetach(ifp); vlan_unconfig(ifp); if_free_type(ifp, IFT_ETHER); + ifc_free_unit(ifc, unit); free(ifv, M_VLAN); return (error); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902131310.n1DDA4lw079154>