mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Rev 1.121 meant to pass the value 1 to soalloc() to indicate waitok.
Reported by: arr
This commit is contained in:
parent
094fb32de7
commit
330841c763
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117595
@ -195,7 +195,7 @@ socreate(dom, aso, type, proto, cred, td)
|
||||
|
||||
if (prp->pr_type != type)
|
||||
return (EPROTOTYPE);
|
||||
so = soalloc(M_NOWAIT);
|
||||
so = soalloc(1);
|
||||
if (so == NULL)
|
||||
return (ENOBUFS);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user