Re: Fix IPMI watchdog set_param_str() using kstrdup

From: Pekka Enberg
Date: Wed Dec 20 2006 - 06:19:26 EST


On 12/20/06, Sébastien Dugué <sebastien.dugue@xxxxxxxx> wrote:
set_param_str() cannot use kstrdup() to duplicate the parameter. That's
fine when the driver is compiled as a module but it sure is not when
built into the kernel as the kernel parameters are parsed before the
kmalloc slabs are setup.

Aah. I wonder though, if we could defer parsing driver parameters
until kmalloc caches are up...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/