summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorOlga Kornievskaia <okorniev@redhat.com>2025-11-03 12:57:34 -0500
committerChuck Lever <chuck.lever@oracle.com>2025-11-25 09:09:42 -0500
commit14282cc3cfa25b7c137fb2f63ea0db61311d45e3 (patch)
tree659ff262cbeb09dbe171e2bc5e453e2cc3fc6013 /tools/lib/python
parentb0f8e1f1f5e8427ea1d955c48bddb6408f354421 (diff)
NFSD: don't start nfsd if sv_permsocks is empty
Previously, while trying to create a server instance, if no listening sockets were present then default parameter udp and tcp listeners were created. It's unclear what purpose was of starting these listeners were and how this could have been triggered by the userland setup. This patch proposed to ensure the reverse that we never end in a situation where no listener sockets are created and we are trying to create nfsd threads. The problem it solves is: when nfs.conf only has tcp=n (and nothing else for the choice of transports), nfsdctl would still start the server and create udp and tcp listeners. Signed-off-by: Olga Kornievskaia <okorniev@redhat.com> Reviewed-by: NeilBrown <neil@brown.name> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions