mbox series

[RFC,0/2] Reduce size of stack frame in svc_export_parse()

Message ID 169618103606.65416.14867860807492030083.stgit@manet.1015granger.net (mailing list archive)
Headers show
Series Reduce size of stack frame in svc_export_parse() | expand

Message

Chuck Lever Oct. 1, 2023, 5:25 p.m. UTC
Here's a possible way to address a recent 0-day report.
Compile-tested only.

---

Chuck Lever (2):
      NFSD: Rewrite synopsis of nfsd_percpu_counters_init()
      NFSD: Fix frame size warning in svc_export_parse()


 fs/nfsd/export.c | 30 +++++++++++++++++++++---------
 fs/nfsd/export.h |  4 ++--
 fs/nfsd/stats.c  |  2 +-
 fs/nfsd/stats.h  | 18 +++++++++---------
 4 files changed, 33 insertions(+), 21 deletions(-)

--
Chuck Lever