diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-02-28 15:22:13 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-02-28 15:36:16 +0100 |
commit | 37fb019cb02656d0ce0b8d40d56fe8c42f0d1658 (patch) | |
tree | 08df71d901ec8907c0b560c49d80e875cfcb8608 /sunrpc/tst-udp-timeout.c | |
parent | b31737bdf94a1d9eb4108d10c4d38241b6fe788b (diff) | |
download | glibc-37fb019cb02656d0ce0b8d40d56fe8c42f0d1658.tar.gz glibc-37fb019cb02656d0ce0b8d40d56fe8c42f0d1658.tar.xz glibc-37fb019cb02656d0ce0b8d40d56fe8c42f0d1658.zip |
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.
Diffstat (limited to 'sunrpc/tst-udp-timeout.c')
0 files changed, 0 insertions, 0 deletions