Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249163
b: refs/heads/master
c: 7816c45
h: refs/heads/master
i:
  249161: 666510a
  249159: c8254d2
v: v3
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Apr 25, 2011
1 parent 51db3b1 commit f3f5e67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb63e4c967541402b79a92a31c841744ca17d1aa
refs/heads/master: 7816c45bf13255157c00fb8aca86cb64d825e878
4 changes: 2 additions & 2 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2790,7 +2790,7 @@ static struct module *load_module(void __user *umod,
}

/* This has to be done once we're sure module name is unique. */
if (!mod->taints)
if (!mod->taints || mod->taints == (1U<<TAINT_CRAP))
dynamic_debug_setup(info.debug, info.num_debug);

/* Find duplicate symbols */
Expand Down Expand Up @@ -2827,7 +2827,7 @@ static struct module *load_module(void __user *umod,
module_bug_cleanup(mod);

ddebug:
if (!mod->taints)
if (!mod->taints || mod->taints == (1U<<TAINT_CRAP))
dynamic_debug_remove(info.debug);
unlock:
mutex_unlock(&module_mutex);
Expand Down

0 comments on commit f3f5e67

Please sign in to comment.