mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 14:24:09 +01:00
9ea01fedc0
remove the NFS server version in order to reduce code duplication. The shared version now uses a second parameter how, which is passed on to m_get(9) and m_getcl(9) as the server used M_WAIT while the client requires M_DONTWAIT, and replaces the the previously unused parameter hsiz. - Change nfs_realign() to use nfsm_aligned() so as with other NFS code the alignment check isn't actually performed on platforms without strict alignment requirements for performance reasons because as the comment suggests unaligned data only occasionally occurs with TCP. - Change fha_extract_info() to use nfs_realign() with M_DONTWAIT rather than M_WAIT because it's called with the RPC sp_lock held. Reviewed by: jhb, rmacklem MFC after: 1 week |
||
---|---|---|
.. | ||
nfs_fha.c | ||
nfs_fha.h | ||
nfs_serv.c | ||
nfs_srvkrpc.c | ||
nfs_srvsubs.c | ||
nfs.h | ||
nfsm_subs.h | ||
nfsrvcache.h | ||
nfsrvstats.h |