From: James Morris <[EMAIL PROTECTED]>
Date: Thu, 27 Jul 2006 01:58:58 -0400 (EDT)
> On Thu, 27 Jul 2006, Thomas Graf wrote:
>
> > + rule = kmalloc(ops->rule_size, GFP_KERNEL);
> > + if (rule == NULL) {
> > + err = -ENOMEM;
> > + goto errout;
> > + }
> > + memset(rule, 0, ops->rule_size);
> > +
>
> kzalloc() ? :-)
Good catch :) He did use kzalloc() in a few other places, to his
credit.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html