mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
FreeBSD, we can have a negative available space value, but the corresponding fields in the NFS protocol are unsigned. So trnucate the value to 0 if it's negative, so that the client doesn't receive absurdly high values. Tested by: cognet |
||
|---|---|---|
| .. | ||
| nfs.h | ||
| nfs_serv.c | ||
| nfs_srvcache.c | ||
| nfs_srvsock.c | ||
| nfs_srvsubs.c | ||
| nfs_syscalls.c | ||
| nfsm_subs.h | ||
| nfsrvcache.h | ||
| nfsrvstats.h | ||