Thread (8 messages) flat view 8 messages, 4 authors, 2012-09-25

Re: [PATCH] inet_diag: make config INET_DIAG bool

From: Jan Engelhardt <hidden>
Date: 2012-09-23 13:40:32

On Sunday 2012-09-23 06:36, Stephen Hemminger wrote:
quoted
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help