Skip to content

nfs-utils: nfsdctl fixups

Olga Kornievskaia linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nfs-utils: nfsdctl: fix update_listenersutils/nfsdctl/nfsdctl.c+12 -80 replies
2/4nfs-utils: nfsdctl: fix autostartutils/nfsdctl/nfsdctl.c+14 -80 replies
3/4nfs-utils: nfsdctl: cleanup listeners if some failedutils/nfsdctl/nfsdctl.c+8 -10 replies
4/4nfs-utils: nfsdctl: fix host-limited add listenerutils/nfsdctl/nfsdctl.c+12 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] nfs-utils: nfsdctl fixups

Static memory allocations in the path of creating knfsd listeners has lead to either buffer over flow errors or failure to start the listener when really long hostname are being used.

Furthermore, when listeners were failed to be created knfsd threads were still started (with no working listeners). Also, when threads were not started but we still had already added they were not cleaned up.

This patch series attempts to address the said issues.

(note first patch was set as standalone previous and included here without change).

Olga Kornievskaia (4):
nfs-utils: nfsdctl: fix update_listeners
nfs-utils: nfsdctl: fix autostart
nfs-utils: nfsdctl: cleanup listeners if some failed
nfs-utils: nfsdctl: fix host-limited add listener

 utils/nfsdctl/nfsdctl.c | 68 +++++++++++++++++++++++++++--------------
 1 file changed, 45 insertions(+), 23 deletions(-)
Signature · 1 line
2.47.1