Date: Tue, 17 Nov 2009 13:08:15 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r199370 - head/sys/netinet Message-ID: <200911171308.nAHD8FJe008065@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Tue Nov 17 13:08:15 2009 New Revision: 199370 URL: http://svn.freebsd.org/changeset/base/199370 Log: Allow the UMA to free data. This resolves the UMA related bug reported by Julian. Approved by: rrs (mentor) MFC after: 1 month Modified: head/sys/netinet/sctp_os_bsd.h Modified: head/sys/netinet/sctp_os_bsd.h ============================================================================== --- head/sys/netinet/sctp_os_bsd.h Tue Nov 17 13:05:51 2009 (r199369) +++ head/sys/netinet/sctp_os_bsd.h Tue Nov 17 13:08:15 2009 (r199370) @@ -255,10 +255,9 @@ MALLOC_DECLARE(SCTP_M_SOCKOPT); /* SCTP_ZONE_INIT: initialize the zone */ typedef struct uma_zone *sctp_zone_t; -#define UMA_ZFLAG_FULL 0x0020 #define SCTP_ZONE_INIT(zone, name, size, number) { \ zone = uma_zcreate(name, size, NULL, NULL, NULL, NULL, UMA_ALIGN_PTR,\ - UMA_ZFLAG_FULL); \ + 0); \ uma_zone_set_max(zone, number); \ }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911171308.nAHD8FJe008065>