Date: Wed, 4 May 2005 18:00:33 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getnameinfo.c Message-ID: <200505041800.j44I0XD4074049@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2005-05-04 18:00:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
lib/libc/net getnameinfo.c
Log:
enclose getservbyport(3) call with mutex lock.
since our getservbyport(3) is thread-safe on CURRENT, we don't need
this workaround on CURRENT. however, it is not MFC'ed to RELENG_5,
yet. so, we need this for RELENG_5.
this fix is candidate for MFS to be in time for 5.4-RELEASE.
Found by: tools/regression/lib/libc/resolv/resolv -r
Reviewed by: hrs
Tested by: hrs
Revision Changes Path
1.14.6.1 +18 -0 src/lib/libc/net/getnameinfo.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505041800.j44I0XD4074049>
