Skip to content

Commit

Permalink
we can't use M_WAIT here, i believe
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed May 27, 2003
1 parent 2af3245 commit df291ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion netbsd/sys/netinet/raw_ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ rip_output(m, va_alist)
m_freem(m);
return (EMSGSIZE);
}
M_PREPEND(m, sizeof(struct ip), M_WAIT);
M_PREPEND(m, sizeof(struct ip), M_DONTWAIT);
if (!m)
return (ENOBUFS);
ip = mtod(m, struct ip *);
ip->ip_tos = 0;
ip->ip_off = 0;
Expand Down

0 comments on commit df291ca

Please sign in to comment.