- Fix uma_zcreate parameters -- don't pass M_* flags here, doh.
This commit is contained in:
parent
cdb5638a27
commit
e7d3d526c0
@ -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…
x
Reference in New Issue
Block a user