kern/164763: Memory leak in VNET

Poul-Henning Kamp phk at critter.freebsd.dk
Sat Feb 4 15:10:10 UTC 2012


>Number:         164763
>Category:       kern
>Synopsis:       Memory leak in VNET
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 04 15:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD  9.0-STABLE FreeBSD 9.0-STABLE #2 r230977: Sat Feb  4 14:01:35 UTC 2012     root at d9:/usr/obj/nanobsd.d9/freebsd/9-stable/sys/D9KERN  i386

>Description:

	Destroying a jail with attached vnet interfaces results in UMA
	keg leakage:

	Freed UMA keg was not empty (30 items).  Lost 2 pages of memory.
	Freed UMA keg was not empty (203 items).  Lost 1 pages of memory.
	hhook_vnet_uninit: hhook_head type=1, id=1 cleanup required
	hhook_vnet_uninit: hhook_head type=1, id=0 cleanup required


>How-To-Repeat:

	ifconfig epair0 create
	jail -i -c vnet name=ext persist
	jexec ext ifconfig
	jail -r ext

>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list