Use M_WAITOK for the NGM_PIPE_SET_CFG control message. We expect it to
arrive from userland only. Submitted by: Dmitry Luhtionov <dmitryluhtionov gmail.com>
This commit is contained in:
parent
7cadd9874f
commit
563790a28e
@ -471,7 +471,7 @@ parse_cfg(struct ng_pipe_hookcfg *current, struct ng_pipe_hookcfg *new,
|
||||
if (hinfo->ber_p == NULL)
|
||||
hinfo->ber_p =
|
||||
malloc((MAX_FSIZE + MAX_OHSIZE) * sizeof(uint64_t),
|
||||
M_NG_PIPE, M_NOWAIT);
|
||||
M_NG_PIPE, M_WAITOK);
|
||||
current->ber = new->ber;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user