]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r317296
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 May 2017 19:57:43 +0000 (19:57 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 May 2017 19:57:43 +0000 (19:57 +0000)
commit1462ad54341f42a9365c0c536380a3d002963fbd
treeb652e6d6680c6e49aba0eea7b3b73bff66659418
parent7447a8e6ad2b088c9ab65406ea22f8a0d811387b
MFC: r317296
Fix some krpc leaks for the NFSv4.1/pNFS client.

The NFSv4.1/pNFS client wasn't doing a newnfs_disconnect() call for the
connection to the Data Server (DS) under some circumstances. The main
effect of this was a leak of malloc'd structures in the krpc. This patch
adds the newnfs_disconnect() calls to fix this.
Detected during recent testing against the pNFS server under development.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317975 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clvfsops.c