diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2011-05-20 00:55:25 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-05-19 09:25:26 +0200 |
commit | 4d10380e720a3ce19dbe88d0133f66ded07b6a8f (patch) | |
tree | 9c652a201f13d67be5671a45e9815c7e7e3b4e0e /arch/unicore32 | |
parent | minor ANSI prototype sparse fix (diff) | |
download | linux-4d10380e720a3ce19dbe88d0133f66ded07b6a8f.tar.xz linux-4d10380e720a3ce19dbe88d0133f66ded07b6a8f.zip |
module: zero mod->init_ro_size after init is freed.
Reset mod->init_ro_size to zero after the init part of a module is unloaded.
Otherwise we need to check if module->init is NULL in the unprotect functions
in the next patch.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions