On 2 Feb 2020, at 13:22, Rick Macklem wrote:
The current krpc code calls sosend() and soreceive() without any
CURVNET_SET()/CURVNET_RESTORE() wrapped around them.
sosend() and soreceive() do the CURVENT_SET()/CURVNET_RESTORE() dance
for you.
When I recently used sosend_generic(), it panic'd without them.
sosend_generic() does not, because usually sosend() calls it, so it’d
already be set.
Best regards,
Kristof
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"