[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 568] Re: Question about implementation of new discipline inaltq
Masayuki Kumazawa wrote:
> I want to implement my original discipline in the altq, but I don't know
> what to do.
> The followings are all I did, but I failed.
> Would you tell me the reason, or what to do?
> Whenever execute kldload, the following error occurs.
> Sep 1 21:27:44 mymachine /kernel: module_register_init:
> c011a388, 0xc0d6fa4c) error 22
Your discipline type seems to be out of range. (Maybe, ALTQT_MAX
wasn't shifted for the new discipline.)
Look at altq_module_register() and when it returns EINVAL (error 22).
When an altq module is loaded, the module handlers are called in the