diff options
author | Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> | 2005-07-30 17:46:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-30 17:46:44 -0700 |
commit | db44575f6fd55df6ff67ddd21f7ad5be5a741136 (patch) | |
tree | 3282b763dbc363202a328c473c47a8cad954687e /net/core/dst.c | |
parent | 1f494c0e040b001cf844280910d04ba7ebdc2898 (diff) | |
download | op-kernel-dev-db44575f6fd55df6ff67ddd21f7ad5be5a741136.zip op-kernel-dev-db44575f6fd55df6ff67ddd21f7ad5be5a741136.tar.gz |
[NET]: fix oops after tunnel module unload
Tunnel modules used to obtain module refcount each time when
some tunnel was created, which meaned that tunnel could be unloaded
only after all the tunnels are deleted.
Since killing old MOD_*_USE_COUNT macros this protection has gone.
It is possible to return it back as module_get/put, but it looks
more natural and practically useful to force destruction of all
the child tunnels on module unload.
Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dst.c')
0 files changed, 0 insertions, 0 deletions