Don't allow the same MISC module loading more than once..
This commit is contained in:
parent
b2f6e97280
commit
2a460312c8
@ -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