HomeFreeBSD

nfscl: Add NFSD_CURVNET macros to nfsclient syscall

Description

nfscl: Add NFSD_CURVNET macros to nfsclient syscall

Although the nfsclient syscall is used for client side,
it does set up server side krpc for callbacks. As such,
it needs to have the vnet set. This patch does this.
Without this patch, the system would crash when the
nfscbd(8) daemon was killed.

Reported by: freebsd@walstatt-de.de
MFC after: 3 months

Details

Provenance
rmacklemAuthored on Feb 21 2023, 12:40 AM
Parents
rG8e022d3cdea1: byacc: Update to 20230201.
Branches
Unknown
Tags
Unknown