public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/nfs-utils] f44: rpc.gssd: Decrement client referece count on error paths
Date: Wed, 15 Jul 2026 11:09:12 GMT [thread overview]
Message-ID: <178411375271.1.1160749782509063068.rpms-nfs-utils-c46309aa29d7@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-15 11:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178411375271.1.1160749782509063068.rpms-nfs-utils-c46309aa29d7@fedoraproject.org \
--to=steved@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox