]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: properly account for new user= field in SPNEGO upcall string allocation
authorJeff Layton <jlayton@redhat.com>
Fri, 1 Aug 2008 18:08:14 +0000 (13:08 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:14 +0000 (11:05 -0700)
commitbd69c7363ab276ce44ed4632030221516cbe8038
tree71334270c1cc6220c496c6c3e01dbc2f1183ef0e
parent978e8c75a78d16d933dfa471fa247e7e61c9f7a4
CIFS: properly account for new user= field in SPNEGO upcall string allocation

commit 66b8bd3c405389213de1d6ba6c2565990f62004f upstream

[CIFS] properly account for new user= field in SPNEGO upcall string allocation

...it doesn't look like it's being accounted for at the moment. Also
try to reorganize the calculation to make it a little more evident
what each piece means.

This should probably go to the stable series as well...

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/cifs_spnego.c