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>
index | next in thread | raw e-mail
Hi, The current krpc code calls sosend() and soreceive() without any CURVNET_SET()/CURVNET_RESTORE() wrapped around them. When I recently used sosend_generic(), it panic'd without them. Do they need to be added around sosend()/soreceive()? I'll admit to knowing nothing about vnet. Thanks, rickhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTBPR01MB337446173B7D480145BBB6C6DD010>
