Allow the UMA to free data. This resolves the UMA related bug reported

by Julian.

Approved by: rrs (mentor)
MFC after: 1 month
This commit is contained in:
Michael Tuexen 2009-11-17 13:08:15 +00:00
parent 7a9b5b2040
commit cf458c646d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199370

View File

@ -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); \
}