From f3f5e674c6574dbb0fc3082d4e3ec490b8e2f501 Mon Sep 17 00:00:00 2001 From: Roland Vossen Date: Thu, 7 Apr 2011 11:20:58 +0200 Subject: [PATCH] --- yaml --- r: 249163 b: refs/heads/master c: 7816c45bf13255157c00fb8aca86cb64d825e878 h: refs/heads/master i: 249161: 666510ad9a718133cf96b3e07e042e289ceb7f11 249159: c8254d268fc49ff900310ba8e7ff419e272fbc9e v: v3 --- [refs] | 2 +- trunk/kernel/module.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c7517875ab19..f8943181167b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cb63e4c967541402b79a92a31c841744ca17d1aa +refs/heads/master: 7816c45bf13255157c00fb8aca86cb64d825e878 diff --git a/trunk/kernel/module.c b/trunk/kernel/module.c index d5938a5c19c4..4d5c16aae745 100644 --- a/trunk/kernel/module.c +++ b/trunk/kernel/module.c @@ -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<taints) + if (!mod->taints || mod->taints == (1U<