len -= 4;
origlen = len;
- buf = r = _MALLOC(len, M_TEMP, M_NOWAIT);
+ buf = r = _MALLOC(len, M_TEMP, M_WAITOK);
if (! buf)
return (0);
u_char *buf, *p;
len -= 4;
- buf = MALLOC (len, M_TEMP, M_NOWAIT);
+ buf = MALLOC (len, M_TEMP, M_WAITOK);
if (!buf)
return;
u_long magic;
len -= 4;
- buf = MALLOC (len, M_TEMP, M_NOWAIT);
+ buf = MALLOC (len, M_TEMP, M_WAITOK);
if (!buf)
return;
* Make sure to allocate a buf that can at least hold a
* conf-nak with an `address' option. We might need it below.
*/
- buf = r = MALLOC ((len < 6? 6: len), M_TEMP, M_NOWAIT);
+ buf = r = MALLOC ((len < 6? 6: len), M_TEMP, M_WAITOK);
if (! buf)
return (0);
int debug = ifp->if_flags & IFF_DEBUG;
len -= 4;
- buf = MALLOC (len, M_TEMP, M_NOWAIT);
+ buf = MALLOC (len, M_TEMP, M_WAITOK);
if (!buf)
return;
u_long wantaddr;
len -= 4;
- buf = MALLOC (len, M_TEMP, M_NOWAIT);
+ buf = MALLOC (len, M_TEMP, M_WAITOK);
if (!buf)
return;