public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nfs-utils] f44: rpc.gssd: Decrement client referece count on error paths
@ 2026-07-15 11:09 Steve Dickson
0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2026-07-15 11:09 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/nfs-utils
Branch : f44
Commit : c46309aa29d72cf3588c105b9c1faaaa06bb313f
Author : Steve Dickson <steved@redhat.com>
Date : 2026-07-15T06:27:12-04:00
Stats : +27/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/nfs-utils/c/c46309aa29d72cf3588c105b9c1faaaa06bb313f?branch=f44
Log:
rpc.gssd: Decrement client referece count on error paths
Signed-off-by: Steve Dickson <steved@redhat.com>
---
diff --git a/nfs-utils-2.8.7-gssd-pthread.patch b/nfs-utils-2.8.7-gssd-pthread.patch
new file mode 100644
index 0000000..885378b
--- /dev/null
+++ b/nfs-utils-2.8.7-gssd-pthread.patch
@@ -0,0 +1,22 @@
+diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
+index e060bee3..d59c8a19 100644
+--- a/utils/gssd/gssd_proc.c
++++ b/utils/gssd/gssd_proc.c
+@@ -897,6 +897,9 @@ out_srchost:
+ if (info->srchost)
+ free(info->srchost);
+ out_info:
++ pthread_mutex_lock(&clp_lock);
++ clp->refcount--;
++ pthread_mutex_unlock(&clp_lock);
+ free(info);
+ info = NULL;
+ goto out;
+@@ -981,6 +984,7 @@ start_upcall_thread(void (*func)(struct clnt_upcall_info *), struct clnt_upcall_
+ tinfo->timeout.tv_sec += upcall_timeout;
+ TAILQ_INSERT_TAIL(&active_thread_list, tinfo, list);
+ pthread_mutex_unlock(&active_thread_list_lock);
++ pthread_attr_destroy(&attr);
+
+ return ret;
+ }
diff --git a/nfs-utils.spec b/nfs-utils.spec
index 1e8a205..0e1a3f5 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
Name: nfs-utils
URL: http://linux-nfs.org/
Version: 2.8.7
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 1
# group all 32bit related archs
@@ -20,6 +20,7 @@ Patch002: nfs-utils-2.9.1-nfs-iostat-display-MBs.patch
Patch003: nfs-utils-2.8.7-libnfsidmap-empty-realms.patch
Patch004: nfs-utils-2.8.7-getport-warning.patch
Patch005: nfs-utils-2.8.7-nfsd-thread-count-zero.patch
+Patch006: nfs-utils-2.8.7-gssd-pthread.patch
Patch100: nfs-utils-1.2.1-statdpath-man.patch
Patch102: nfs-utils-1.2.5-idmap-errmsg.patch
@@ -480,6 +481,9 @@ rm -f %{_sysconfdir}/nfsmount.conf.d/10-nfsv4.conf
%{_mandir}/*/rpcctl.8.gz
%changelog
+* Wed Jul 15 2026 Steve Dickson <steved@redhat.com> 2.8.7-6
+- rpc.gssd: Decrement client referece count on error paths
+
* Tue Jun 16 2026 Steve Dickson <steved@redhat.com> 2.8.7-5
- nfsd: don't assume service is running when setting thread count to 0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-15 11:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 11:09 [rpms/nfs-utils] f44: rpc.gssd: Decrement client referece count on error paths Steve Dickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox