What is wrong with dtrace's stack()?
Lev Serebryakov
lev at FreeBSD.org
Mon Oct 22 13:42:22 UTC 2018
On 22.10.2018 14:45, Lev Serebryakov wrote:
> CURVNET_SET(so->so_vnet);
> if (!SOLISTENING(so))
> error = so->so_proto->pr_usrreqs->pru_sosend(so, addr, uio,
> top, control, flags, td);
> else {
> m_freem(top);
> m_freem(control);
> error = ENOTCONN;
> }
> CURVNET_RESTORE();
Oh, I'm idiot, it is eligible for TCO, if VNET is not compiled-in.
--
// Lev Serebryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20181022/8ab794d3/attachment.sig>
More information about the freebsd-hackers
mailing list