Thread (9 messages) flat view 9 messages, 3 authors, 2003-10-21

Re: [PATCH] tun driver not cleaning up on module remove

From: David S. Miller <hidden>
Date: 2003-08-07 22:59:01

On Thu, 7 Aug 2003 15:45:24 -0700
Stephen Hemminger [off-list ref] wrote:
This should fix module unload issues with tun driver in 2.6-test2.
Driver was not cleaning up it's devices on module exit.
The fix looks correct, but the dev->init test looks kind of grotty.

Why not add a list_head to tun_struct, and then maintain a list rooted
in 'tun.c:tun_alldevs_list', then iterate over that in the
module_exit() routine?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help