patch-2.1.105 linux/kernel/module.c
Next file: linux/net/Changes
Previous file: linux/kernel/kmod.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Jun 7 10:37:42 1998
- Orig file:
v2.1.104/linux/kernel/module.c
- Orig date:
Sun Jun 7 11:16:39 1998
diff -u --recursive --new-file v2.1.104/linux/kernel/module.c linux/kernel/module.c
@@ -961,7 +961,8 @@
for (mp = module_list; mp; mp = mp->next) {
if (((modname == NULL) || (strcmp(mp->name, modname) == 0)) &&
- (mp->flags == MOD_RUNNING) && (mp->nsyms > 0)) {
+ (mp->flags & (MOD_RUNNING | MOD_DELETED)) == MOD_RUNNING &&
+ (mp->nsyms > 0)) {
for (i = mp->nsyms, sym = mp->syms;
i > 0; --i, ++sym) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov