Don't allow the same MISC module loading more than once..

This commit is contained in:
sos 1994-10-12 20:28:32 +00:00
parent e42ffcf4bb
commit 5da1431434

View File

@ -893,6 +893,8 @@ lkmdispatch(lkmtp, cmd)
break;
case LM_MISC: /* ignore content -- no "misc-specific" procedure */
if (lkmexists(lkmtp))
err = EEXIST;
break;
default: