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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.47.1





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux