Add missing socket buffer unlock before returning to userland.
Reviewed by: rwatson
This commit is contained in:
parent
71e3251c81
commit
ccd8d954f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169375
@ -1225,9 +1225,9 @@ sosend_generic(so, addr, uio, top, control, flags, td)
|
||||
goto release;
|
||||
}
|
||||
error = sbwait(&so->so_snd);
|
||||
SOCKBUF_UNLOCK(&so->so_snd);
|
||||
if (error)
|
||||
goto release;
|
||||
SOCKBUF_UNLOCK(&so->so_snd);
|
||||
goto restart;
|
||||
}
|
||||
SOCKBUF_UNLOCK(&so->so_snd);
|
||||
|
Loading…
Reference in New Issue
Block a user