]> git.hungrycats.org Git - linux/commit
[PATCH] ia64: zero out topology related sysfs nodes
authorJesse Barnes <jbarnes@sgi.com>
Mon, 20 Oct 2003 09:05:49 +0000 (02:05 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 20 Oct 2003 09:05:49 +0000 (02:05 -0700)
commit48711f911e21904bc62abbcca4a4bb7883b4d36e
treeffcf4b97616638c22b0b8e1c98cef3760dd9fe30
parente360aa9175e027c8498846affb2410038b3ae656
[PATCH] ia64: zero out topology related sysfs nodes

Tony pointed out (thanks Tony) that in -test8 kobject_set_name() will
try to free a kobject's k_name field if it's non-NULL, so we need to
zero it out in case kmalloc() gave us recycled memory or we'll try to
kfree a bogus area.
arch/ia64/mm/numa.c