Re: ALTQ cannot be stopped Was: Fwd: 10-BETA : some network issues

Taylor R Campbell <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.network
Message-ID <[email protected]>
> Date: Sat, 22 Jul 2023 17:14:11 +0200
> From: BERTRAND Joël <[email protected]>
> 
> 	I have rebuilt my tree, started and stopped altqd.

Excellent, thanks!

Can you either:

(a) send me a tarball of your altqd binary together with all the
    shared libraries and .debug files that gdb mentioned, and together
    with a core dump of the process (you should be able to get one by
    sending it SIGABRT); or

(b) print the the contents of the ifinfo->cllist queue?

For (b), you will need to do:

(gdb) print *ifinfo
(gdb) print ifinfo->cllist->lh_first
(gdb) print *ifinfo->cllist->lh_first
(gdb) print ifinfo->cllist->lh_first->next.le_next
(gdb) print *ifinfo->cllist->lh_first->next.le_next
(gdb) print ifinfo->cllist->lh_first->next.le_next->next.le_next
(gdb) print *ifinfo->cllist->lh_first->next.le_next->next.le_next
...

and so on, until the next.le_next member is null, or until you get
bored of printing the next element which might indicate a cycle.  (Not
sure how many classes in this list to expect, probably depends on your
altq configuration.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.