diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-05-31 19:53:50 +0930 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-31 11:21:32 -0700 |
commit | 293a7cfeedc2b2380a7c7274902323c3cf5f7575 (patch) | |
tree | 00576870400cb640fe92ea3f525338e6e3733a2e /fs/binfmt_elf_fdpic.c | |
parent | 67a3e12b05e055c0415c556a315a3d3eb637e29e (diff) | |
download | op-kernel-dev-293a7cfeedc2b2380a7c7274902323c3cf5f7575.zip op-kernel-dev-293a7cfeedc2b2380a7c7274902323c3cf5f7575.tar.gz |
module: fix reference to mod->percpu after freeing module.
Rafael sees a sometimes crash at precpu_modfree from kernel/module.c; it
only occurred with another (since-reverted) patch, but that patch simply
changed timing to uncover this bug, it was otherwise unrelated.
The comment about the mod being freed is self-explanatory, but neither
Tejun nor I read it. This bug was introduced in 259354deaa, after it
had previously been fixed in 6e2b75740b. How embarrassing.
Reported-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Embarrassingly-Acked-by: Tejun Heo <tj@kernel.org>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Tested-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions