Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2020 21:22:13 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Does sosend() need CURVNET_SET/CURVNET_RESTORE?
Message-ID:  <YTBPR01MB337446173B7D480145BBB6C6DD010@YTBPR01MB3374.CANPRD01.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
Hi,=0A=
=0A=
The current krpc code calls sosend() and soreceive() without any=0A=
CURVNET_SET()/CURVNET_RESTORE() wrapped around them.=0A=
=0A=
When I recently used sosend_generic(), it panic'd without them.=0A=
=0A=
Do they need to be added around sosend()/soreceive()?=0A=
=0A=
I'll admit to knowing nothing about vnet.=0A=
=0A=
Thanks, rick=0A=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTBPR01MB337446173B7D480145BBB6C6DD010>