- Fix uma_zcreate parameters -- don't pass M_* flags here, doh.
This commit is contained in:
parent
08e353de29
commit
13ab9fa614
@ -406,13 +406,13 @@ ipatm_start()
|
||||
}
|
||||
|
||||
ipatm_vc_zone = uma_zcreate("ipatm vc", sizeof(struct ipvcc), NULL,
|
||||
NULL, NULL, NULL, UMA_ALIGN_PTR, M_ZERO|M_WAITOK);
|
||||
NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
|
||||
if (ipatm_vc_zone == NULL)
|
||||
panic("ipatm_start: unable to create ipatm_vc_zone");
|
||||
uma_zone_set_max(ipatm_vc_zone, 100);
|
||||
|
||||
ipatm_nif_zone = uma_zcreate("ipatm nif", sizeof(struct ip_nif), NULL,
|
||||
NULL, NULL, NULL, UMA_ALIGN_PTR, M_ZERO|M_WAITOK);
|
||||
NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
|
||||
if (ipatm_nif_zone == NULL)
|
||||
panic("ipatm_start: unable to create ipatm_nif_zone");
|
||||
uma_zone_set_max(ipatm_nif_zone, 52);
|
||||
|
Loading…
Reference in New Issue
Block a user