panic: sbappendstream 1 [head/amd64 @r293419]
Gleb Smirnoff
glebius at FreeBSD.org
Fri Jan 8 18:24:52 UTC 2016
On Fri, Jan 08, 2016 at 09:34:23AM -0500, Jonathan T. Looney wrote:
J> The likely suspect here looks like r293405, which changed uipc_send() to
J> use sbappendstream_locked() instead of sbappend_locked().
J>
J> However, I can't explain *why* that change is causing this problem without
J> further investigation.
That is because sbappendstream() has invariant that socket buffer doesn't
have any records in it. But, if control data is sent, which is possible
for AF_UNIX, a record is made. Thus, we can't used optimized version for
AF_UNIX, only for AF_INET.
--
Totus tuus, Glebius.
More information about the freebsd-current
mailing list