Use M_WAITOK instead of M_WAIT in sppp_attach().
This commit is contained in:
parent
17d89a1f67
commit
810bf55afe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user