[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b133d67a-cb5f-4d46-b3d8-b1ac9448725e@tahiti.vyatta.com>
Date: Sat, 22 Sep 2012 21:36:34 -0700 (PDT)
From: Stephen Hemminger <stephen.hemminger@...tta.com>
To: Gao feng <gaofeng@...fujitsu.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuznet@....inr.ac.ru
Subject: Re: [PATCH] inet_diag: make config INET_DIAG bool
> 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.
--
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