]> sourceware.org Git - glibc.git/commit
sunrpc: Do not unregister services if not registered [BZ #5010]
authorFlorian Weimer <fweimer@redhat.com>
Tue, 28 Feb 2017 14:22:13 +0000 (15:22 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 28 Feb 2017 14:36:16 +0000 (15:36 +0100)
commit37fb019cb02656d0ce0b8d40d56fe8c42f0d1658
tree08df71d901ec8907c0b560c49d80e875cfcb8608
parentb31737bdf94a1d9eb4108d10c4d38241b6fe788b
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.
ChangeLog
sunrpc/Makefile
sunrpc/svc.c
sunrpc/tst-svc_register.c [new file with mode: 0644]
This page took 0.043176 seconds and 5 git commands to generate.