We can, and should use M_WAITOK here.
Sponsored by: Nginx, Inc.
This commit is contained in:
parent
5791cee883
commit
3c26f4a9bc
@ -523,7 +523,7 @@ igmp_ra_alloc(void)
|
||||
struct mbuf *m;
|
||||
struct ipoption *p;
|
||||
|
||||
MGET(m, M_NOWAIT, MT_DATA);
|
||||
m = m_get(M_WAITOK, MT_DATA);
|
||||
p = mtod(m, struct ipoption *);
|
||||
p->ipopt_dst.s_addr = INADDR_ANY;
|
||||
p->ipopt_list[0] = IPOPT_RA; /* Router Alert Option */
|
||||
|
Loading…
x
Reference in New Issue
Block a user