We can, and should use M_WAITOK here.
Sponsored by: Nginx, Inc.
This commit is contained in:
parent
5791cee883
commit
3c26f4a9bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248326
@ -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…
Reference in New Issue
Block a user