From: Jan Glauber Date: Thu, 19 May 2011 22:55:25 +0000 (-0600) Subject: module: zero mod->init_ro_size after init is freed. X-Git-Tag: v3.0-rc1~419^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d10380e720a3ce19dbe88d0133f66ded07b6a8f;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed