Use M_WAITOK instead of M_WAIT in sppp_attach().

This commit is contained in:
Gary Jennejohn 2003-07-26 21:58:06 +00:00
parent 17d89a1f67
commit 810bf55afe

View File

@ -997,7 +997,7 @@ sppp_attach(struct ifnet *ifp)
#ifdef INET6
sp->confflags |= CONF_ENABLE_IPV6;
#endif
sp->pp_comp = malloc(sizeof(struct slcompress), M_TEMP, M_WAIT);
sp->pp_comp = malloc(sizeof(struct slcompress), M_TEMP, M_WAITOK);
sl_compress_init(sp->pp_comp, -1);
sppp_lcp_init(sp);
sppp_ipcp_init(sp);