Lines 703-708
static void insmod(struct list_head *lis
Link Here
|
703 |
/* Take us off the list. */ |
703 |
/* Take us off the list. */ |
704 |
list_del(&mod->list); |
704 |
list_del(&mod->list); |
705 |
|
705 |
|
|
|
706 |
/* Don't do ANYTHING if already in kernel. */ |
707 |
if (!ignore_proc |
708 |
&& module_in_kernel(newname ?: mod->modname, NULL) == 1) |
709 |
goto exists_error; |
710 |
|
706 |
/* Do things we depend on first, but don't die if they fail. */ |
711 |
/* Do things we depend on first, but don't die if they fail. */ |
707 |
if (!list_empty(list)) { |
712 |
if (!list_empty(list)) { |
708 |
insmod(list, NOFAIL(strdup("")), NULL, 0, warn, |
713 |
insmod(list, NOFAIL(strdup("")), NULL, 0, warn, |
Lines 710-720
static void insmod(struct list_head *lis
Link Here
|
710 |
strip_vermagic, strip_modversion); |
715 |
strip_vermagic, strip_modversion); |
711 |
} |
716 |
} |
712 |
|
717 |
|
713 |
/* Don't do ANYTHING if already in kernel. */ |
|
|
714 |
if (!ignore_proc |
715 |
&& module_in_kernel(newname ? newname : mod->modname, NULL) == 1) |
716 |
goto exists_error; |
717 |
|
718 |
command = find_command(mod->modname, commands); |
718 |
command = find_command(mod->modname, commands); |
719 |
if (command && !ignore_commands) { |
719 |
if (command && !ignore_commands) { |
720 |
do_command(mod->modname, command, verbose, dry_run, error, |
720 |
do_command(mod->modname, command, verbose, dry_run, error, |