On Sat, 14 Dec 2013, John Nemeth wrote:

}       case MODULE_CMD_FINI:
} +             if (netexport_hasexports())
} +                     return EBUSY;

    I thought the idea was only to disallow autounload when there were
exports?  This change will also disallow manual unloading.

It was my original intent to affect only the auto-unload. It really isn't necessary to prevent the manual unload, since we forcibly clear the export list anyway by calling netexport_fini() (right after we disestablish the syscall).



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------

Reply via email to