This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/5010] sunrpc service cleanup causes unwanted port mapper traffic


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]