kern/131642: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Fri Feb 13 05:10:04 PST 2009


The following reply was made to PR kern/131642; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-bugs mailing list