[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.01.1209231540180.15692@nerf07.vanv.qr>
Date: Sun, 23 Sep 2012 15:40:27 +0200 (CEST)
From: Jan Engelhardt <jengelh@...i.de>
To: Stephen Hemminger <stephen.hemminger@...tta.com>
cc: Gao feng <gaofeng@...fujitsu.com>, netdev@...r.kernel.org,
davem@...emloft.net, kuznet@....inr.ac.ru
Subject: Re: [PATCH] inet_diag: make config INET_DIAG bool
On Sunday 2012-09-23 06:36, Stephen Hemminger wrote:
>> when inet_diag being compiled as module, inet_diag_handler_dump
>> set netlink_dump_control.dump to inet_diag_dump,so if module
>> inet_diag is unloaded,netlink will still try to call this function
>> in netlink_dump. this will cause kernel panic.
>
>Another way to handle this to just get rid of inet_diag_exit
>so that module can be loaded but not unloaded.
Why don't we unset netlink_dump_control.dump on exit?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists