]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Fix a memory leak when meeting unsupported state_protect_how4
authorKinglong Mee <kinglongmee@gmail.com>
Fri, 26 Feb 2016 14:36:42 +0000 (22:36 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 1 Mar 2016 21:06:31 +0000 (13:06 -0800)
commitc693ae0b1b32e221c71c4872ad329590030b8c44
tree5748a9a75f0d7dbb733de659d3b9bfa4f910f873
parentb4c8b3a766170cd34d3a7fa9e23d4ac697444342
nfsd: Fix a memory leak when meeting unsupported state_protect_how4

Remember free allocated client when meeting unsupported state protect how.

Fixes: 2d5ed1cff271 ("nfsd: minor consolidation of mach_cred handling code")
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c