[2.6 patch] remove cifs_kcalloc
sfrench at us.ibm.com
Mon Apr 18 05:13:02 GMT 2005
Yes - In addition to fixing the kcalloc checks the 4 session setup routines
need to be collapsed into a set of smaller routines with common code.
Since three of the four of those routines are disabled by default, cleaning
up the session setup cases (better consolidating the NTLM vs. NTLMSSP vs.
SPNEGO RFC2478) has been put off. Two of these four could shrink
significantly if Andrew Bartlett's suggestion of using ntlm_auth as a
helper function is chosen.
Senior Software Engineer
Linux Technology Center - IBM Austin
email: sfrench at-sign us dot ibm dot com
Dave Jones <davej at redhat.com> wrote on 04/17/2005 08:57:56 PM:
> On Mon, Apr 18, 2005 at 03:52:02AM +0200, Adrian Bunk wrote:
> > This patch removes cifs_kcalloc and replaces it with calls to
> > kcalloc(1, ...) .
> > Signed-off-by: Adrian Bunk <bunk at stusta.de>
> As a followup patch you might want to check the return value
> of all those calls before blindly deferencing them.
More information about the samba-technical