On Nov 28, 2023, at 5:01 PM, Chuck Lever cel@kernel.org wrote:
Backport of upstream fixes to NFSD's duplicate reply cache. These have been hand-applied and tested with the same reproducer as was used to create the upstream fixes.
These are the 6.6.y patches reworked to apply on 6.1.y. Enough has changed that it was significantly less work to hand-adjust these rather than re-apply the bulk of NFSD and SUNRPC patches that were merged between 6.1 and 6.5.
Chuck Lever (2): NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update() NFSD: Fix checksum mismatches in the duplicate reply cache
fs/nfsd/cache.h | 3 ++- fs/nfsd/nfscache.c | 65 +++++++++++++++++++++++++++++++--------------- fs/nfsd/nfssvc.c | 15 +++++++++-- 3 files changed, 59 insertions(+), 24 deletions(-)
-- Chuck Lever
-- Chuck Lever