NFSD: fix a leak which can cause CREATE_SESSION failures
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 23 Dec 2013 09:31:21 +0000 (17:31 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 3 Jan 2014 23:18:47 +0000 (18:18 -0500)
check_forechannel_attrs gets drc memory, so nfsd must put it when
check_backchannel_attrs fails.

After many requests with bad back channel attrs, nfsd will deny any
client's CREATE_SESSION forever.

A new test case named CSESS29 for pynfs will send in another mail.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found