This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/5010] sunrpc service cleanup causes unwanted port mapper traffic
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 28 Feb 2017 14:43:21 +0000
- Subject: [Bug network/5010] sunrpc service cleanup causes unwanted port mapper traffic
- Auto-submitted: auto-generated
- References: <bug-5010-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=5010
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 37fb019cb02656d0ce0b8d40d56fe8c42f0d1658 (commit)
from b31737bdf94a1d9eb4108d10c4d38241b6fe788b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=37fb019cb02656d0ce0b8d40d56fe8c42f0d1658
commit 37fb019cb02656d0ce0b8d40d56fe8c42f0d1658
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Feb 28 15:22:13 2017 +0100
sunrpc: Do not unregister services if not registered [BZ #5010]
The change in commit 718946816cf60374f9d8f674d3ed649fdb33205a
has no effect because of two bugs which cancel each other out:
The svc_is_mapped condition is inverted, and svc_is_mapped
always returns false because the check is performed after
the service has already been unregistered. As a result,
pmap_unset is called unconditionally, as before.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 ++
sunrpc/Makefile | 3 +
sunrpc/svc.c | 14 +--
sunrpc/tst-svc_register.c | 299 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 316 insertions(+), 12 deletions(-)
create mode 100644 sunrpc/tst-svc_register.c
--
You are receiving this mail because:
You are on the CC list for the bug.