Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 16:42:14 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, cse.cem@gmail.com
Subject:   Re: What is wrong with dtrace's stack()?
Message-ID:  <b30f2080-1037-1752-60fb-6d22e28ce90d@FreeBSD.org>
In-Reply-To: <234d745d-37a9-9610-15b9-0f5cd5af21bf@FreeBSD.org>
References:  <170994671.20181021201021@serebryakov.spb.ru> <CAG6CVpVCe-8OVU%2BKEyAh8swFSAjRshNcNLN0tjAS3W8bZxyrTA@mail.gmail.com> <475670271.20181022003734@serebryakov.spb.ru> <CAOtMX2goztCYJXM72WNR711DEBEKAGk1zFHF=NpE4UiVAF2bAQ@mail.gmail.com> <234d745d-37a9-9610-15b9-0f5cd5af21bf@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--y8HNS5bptWoMgbaRyG5N1AanZym3cEBcL
Content-Type: multipart/mixed; boundary="iJZ9MacptV4o7GpeDwjqtxwbwzRbeQDam";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: Alan Somers <asomers@freebsd.org>
Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>,
 cse.cem@gmail.com
Message-ID: <b30f2080-1037-1752-60fb-6d22e28ce90d@FreeBSD.org>
Subject: Re: What is wrong with dtrace's stack()?
References: <170994671.20181021201021@serebryakov.spb.ru>
 <CAG6CVpVCe-8OVU+KEyAh8swFSAjRshNcNLN0tjAS3W8bZxyrTA@mail.gmail.com>
 <475670271.20181022003734@serebryakov.spb.ru>
 <CAOtMX2goztCYJXM72WNR711DEBEKAGk1zFHF=NpE4UiVAF2bAQ@mail.gmail.com>
 <234d745d-37a9-9610-15b9-0f5cd5af21bf@FreeBSD.org>
In-Reply-To: <234d745d-37a9-9610-15b9-0f5cd5af21bf@FreeBSD.org>

--iJZ9MacptV4o7GpeDwjqtxwbwzRbeQDam
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 22.10.2018 14:45, Lev Serebryakov wrote:

> CURVNET_SET(so->so_vnet);
> if (!SOLISTENING(so))
> 	error =3D so->so_proto->pr_usrreqs->pru_sosend(so, addr, uio,
> 	    top, control, flags, td);
> else {
> 	m_freem(top);
> 	m_freem(control);
> 	error =3D ENOTCONN;
> }
> CURVNET_RESTORE();
  Oh, I'm idiot, it is eligible for TCO, if VNET is not compiled-in.


--=20
// Lev Serebryakov


--iJZ9MacptV4o7GpeDwjqtxwbwzRbeQDam--

--y8HNS5bptWoMgbaRyG5N1AanZym3cEBcL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlvN07ZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R4/wpQ/+IraIkjYGi2fBmLa/C+4htMKS23C0QgmnlZVR/FV3WVPenGkoGZas4Zhh
qLToKHsa4Qkczzyawn5Xm6bgIo5qyI0dxLtB8A+ZpsBsPwumjgHN3qIncG62fcmv
3FV7qZqtd2v34ex0X/VcQ9H2N9VP0BoNIi2yCg/ema2DsPiT+sogXqciI6iw4sgo
SGbJoO2oRF7iHkXlQDLQQ3mIi5B36NViDs3n1N5rLMjIjprMZtMHa9QXjAx3Aq+r
4f+OBffpzPzV4rh39hTnTMZ0Cc7u8GfFEy5eWi8S1TQAPB6Ffzv7t+NGo44zWIpY
7RNKo3YYfoyaOfNHXtHc2FGidSsq9JUucn3V8B+Sqr0WVBhl4dExgeohhRg3Zzf0
wMUFw6GqS0nP/6Lmv3OsenuYABANOlpkXyKirSuuD8kz8fuL/qoscp7XArJ6A0Pl
VR0xEaJXCpquFUSCzMkQm+2aPYAYxIiQkz8PXnDlOI8Oh45iZ2vTg5b1ObsojwzV
0Tz2Qpbkaqqi1zYsHuPDYsU19YaEUVDSqToEzIzewb1sKEsNdWeep5JmHO7WEz+f
QbVHBmh27weizNnQqpkWjuiNpotEAfze6zZWm+4XTapduNJ9SVyWF70tGAw7/U/a
ZPdLouoJYFbQRWZBA1b+o8q02keqixjolmPtWQ0gRCIzqEf/UTM=
=KMqO
-----END PGP SIGNATURE-----

--y8HNS5bptWoMgbaRyG5N1AanZym3cEBcL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b30f2080-1037-1752-60fb-6d22e28ce90d>