aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/tests/net/getaddrinfo/(developers-only)
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2025-08-15 19:11:08 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2025-08-15 19:11:08 +0000
commit9cd3860c10b6afaaaeb118dafc166ab168bc9083 (patch)
treef95c01d2c440024d1853354d490606d82ed077ca /lib/libc/tests/net/getaddrinfo/(developers-only)
parent06410c1b51637e5e1f392d553b5008948af58014 (diff)
nfsd: Fix slow leaks of NAMEI buffersHEADmain
Commit 5b5b7e2ca2fa changed namei()s behaviour such that it does not free the NAMEI buffer unless returning an error. The nfsd was not fixed for this. Fortunately, the only leak would be one NAMEI buffer each time mountd(8) reloads the exports. (There were also leaks in the pNFS server configuration, but almost no one uses it.) This patch fixes the leaks by adding NDFREE_PNBUF() macros in the appropriate places. MFC after: 2 weeks Discussed with: kib Fixes: 5b5b7e2ca2fa ("vfs: always retain path buffer after lookup")
Diffstat (limited to 'lib/libc/tests/net/getaddrinfo/(developers-only)')
0 files changed, 0 insertions, 0 deletions