Date: Wed, 4 Aug 2004 15:05:30 +0200 From: Divacky Roman <xdivac02@stud.fit.vutbr.cz> To: current@freebsd.org Subject: Re: problems with altq Message-ID: <20040804130530.GA78973@stud.fit.vutbr.cz> In-Reply-To: <20040804125640.GA78633@stud.fit.vutbr.cz> References: <20040804125640.GA78633@stud.fit.vutbr.cz>
index | next in thread | previous in thread | raw e-mail
struct pf_altq *altq, *a;
if (pa->ticket != ticket_altqs_inactive) {
error = EBUSY;
break;
}
altq = pool_get(&pf_altq_pl, PR_NOWAIT);
^^^^^^^^^^
shouldnt this be initalized to NULL? at least its not nice to have it
uninitalized...
On Wed, Aug 04, 2004 at 02:56:40PM +0200, Divacky Roman wrote:
> I am getting this
> pfctl: DIOCADDALTQ: Cannot allocate memory
> if I try to enable altq on pf configured as
>
> altq on $ext_if bandwidth 256Kb cbq queue { ssh_i web other}
> queue ssh_i bandwidth 25% cbq(borrow red)
> queue web bandwidth 25% cbq(borrow red)
> queue other bandwidth 50% cbq(borrow default red)
>
>
> without that "red" it works ok...
>
>
> roman
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040804130530.GA78973>
