[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinxVG=X-ncpF21kxh+XifUOtLHBfsP2FJ-Cgx6U@mail.gmail.com>
Date: Thu, 19 Aug 2010 12:15:48 +0800
From: ye janboe <janboe.ye@...il.com>
To: davem@...emloft.net, xemul@...nvz.org
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Is it possible for addrconf_init_net to kfree no-heap address?
hi, Pavel and David
addrconf_init_net make me a little confused.
if all and dflt are not allocated by kmemdup and sysctl_register
failed, this function will try to kfree dftl which points to
ipv6_devconf_dfl which is not a heap address. AFAIK, kfree will panic
if the address does not belong to slab page.
Is there any special reason for these codes?
many thanks!
--
Janboe Ye
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists