summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-10-02 19:03:21 +0000
committerpfg <pfg@FreeBSD.org>2012-10-02 19:03:21 +0000
commit7842c9016d1bb554ec3ceff6a37e072c5556531e (patch)
tree9a0b09934d3126b529722ac58d28ff0a26554b1e /sys
parent801a570273e78622987dcab8701b018ed637f465 (diff)
downloadFreeBSD-src-7842c9016d1bb554ec3ceff6a37e072c5556531e.zip
FreeBSD-src-7842c9016d1bb554ec3ceff6a37e072c5556531e.tar.gz
Fix __rpc_getconfip
__rpc_getconfip is supposed to return the first netconf entry supporting tcp or udp, respectively. The code will currently return the *last* entry, plus it will leak memory when there is more than one such entry. This change matches the reference (OpenSolaris) implementation. Tested by: David Wolfskill Obtained from: Bull GNU/linux NFSv4 Project (libtirpc) MFC after: 1 week
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud