Don't allow the same MISC module loading more than once..
This commit is contained in:
parent
e42ffcf4bb
commit
5da1431434
@ -893,6 +893,8 @@ lkmdispatch(lkmtp, cmd)
|
||||
break;
|
||||
|
||||
case LM_MISC: /* ignore content -- no "misc-specific" procedure */
|
||||
if (lkmexists(lkmtp))
|
||||
err = EEXIST;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user