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.

(cherry picked from commit 357492c99597d13bc966441f30bb44f6ef659f08)

Details

Provenance
rmacklemAuthored on Feb 21 2023, 12:40 AM
Parents
rG967e9ddfb839: krpc: Replace !jailed() with IS_DEFAULT_VNET()
Branches
Unknown
Tags
Unknown