mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
M_DONTWAIT was passed into malloc().
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
This commit is contained in:
parent
a7a08c7e63
commit
8c0dd0e438
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121607
@ -252,7 +252,7 @@ frag6_input(mp, offp, proto)
|
||||
goto dropfrag;
|
||||
frag6_nfragpackets++;
|
||||
q6 = (struct ip6q *)malloc(sizeof(struct ip6q), M_FTABLE,
|
||||
M_DONTWAIT);
|
||||
M_NOWAIT);
|
||||
if (q6 == NULL)
|
||||
goto dropfrag;
|
||||
bzero(q6, sizeof(*q6));
|
||||
@ -345,7 +345,7 @@ frag6_input(mp, offp, proto)
|
||||
}
|
||||
|
||||
ip6af = (struct ip6asfrag *)malloc(sizeof(struct ip6asfrag), M_FTABLE,
|
||||
M_DONTWAIT);
|
||||
M_NOWAIT);
|
||||
if (ip6af == NULL)
|
||||
goto dropfrag;
|
||||
bzero(ip6af, sizeof(*ip6af));
|
||||
|
Loading…
Reference in New Issue
Block a user