Does sosend() need CURVNET_SET/CURVNET_RESTORE?

Rick Macklem rmacklem at uoguelph.ca
Sun Feb 2 21:22:16 UTC 2020


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, rick


More information about the freebsd-net mailing list