| History log of /src/sys/altq/altq_jobs.c |
| Revision | | Date | Author | Comments |
| 1.15 |
| 18-Aug-2025 |
andvar | Fix various typos, mainly in comments: s/invaid/invalid/ s/instad/instead/ s/wich/with/ s/tranform/transform/ s/tranmist/transmit/ s/tranceiver/transceiver/ s/Tranparent/Transparent/ s/tranlated/translated/ s/tranfer/transfer/ s/tranmissions/transmissions/ s/condtions/conditions/ s/Recient/Recent/
|
| 1.14 |
| 08-Jan-2025 |
joe | return: remove parenthesis from return statements
|
| 1.13 |
| 03-Jan-2025 |
joe | compile time: use right jobs interface and return value
|
| 1.12 |
| 21-Sep-2021 |
christos | branches: 1.12.6; 1.12.8; Remove FreeBSD blocks that did not compile anyway, and use l->l_cred consistently.
|
| 1.11 |
| 28-Jul-2017 |
riastradh | Zero buffers copied to userland to avoid stack disclosure.
From Ilja Van Sprundel.
|
| 1.10 |
| 21-Nov-2016 |
dholland | branches: 1.10.8; PR 51553 David Binderman: don't bother counting up backlogged classes when not doing anything with the results.
|
| 1.9 |
| 20-Apr-2016 |
knakahara | branches: 1.9.2; IFQ_ENQUEUE refactor (2/3) : eliminate pktattr argument from altq implemantation
|
| 1.8 |
| 22-Jan-2016 |
christos | Prevent interface deletion from running into an infinite loop when altq closes. $ cat /etc/altq.conf interface ppp0 bandwidth 10M priq class priq ppp0 high_class_ppp NULL priority 1 class priq ppp0 low_class_ppp NULL priority 0 default filter ppp0 high_class_ppp 0 0 0 0 1 $ ifconfig ppp0 create $ /etc/rc.d/altqd onestart $ ifconfig ppp0 destroy $ pkill altqd XXX: pullup-7
|
| 1.7 |
| 18-Aug-2014 |
riastradh | branches: 1.7.2; Fix error branches to avoid leaks, noted by maxv@.
|
| 1.6 |
| 09-Apr-2010 |
plunky | branches: 1.6.14; 1.6.18; 1.6.20; 1.6.28; 1.6.34; rename the altq-defined INFINITY symbol to ALTQ_INFINITY
- it is not infinity - it is exposed to userland - it causes confusion when #include <math.h> follows (I don't know why GCC does not object to redefining the symbol)
|
| 1.5 |
| 04-Mar-2007 |
christos | branches: 1.5.40; 1.5.62; 1.5.64; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.4 |
| 16-Nov-2006 |
christos | branches: 1.4.4; 1.4.6; __unused removal on arguments; approved by core.
|
| 1.3 |
| 20-Oct-2006 |
elad | Kill another KAUTH_GENERIC_ISSUSER.
|
| 1.2 |
| 12-Oct-2006 |
peter | Merge the peter-altq branch.
(sync with KAME & add support for using ALTQ with pf(4)).
|
| 1.1 |
| 18-Mar-2006 |
peter | branches: 1.1.2; 1.1.6; 1.1.8; file altq_jobs.c was initially added on branch peter-altq.
|
| 1.1.8.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
| 1.1.8.1 |
| 22-Oct-2006 |
yamt | sync with head
|
| 1.1.6.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
| 1.1.2.2 |
| 09-Jun-2006 |
peter | Merge 2006-05-24 NetBSD-current into the peter-altq branch.
|
| 1.1.2.1 |
| 18-Mar-2006 |
peter | Sync with KAME.
|
| 1.4.6.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.4.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
| 1.4.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.4.4.1 |
| 16-Nov-2006 |
yamt | file altq_jobs.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:17 +0000
|
| 1.5.64.1 |
| 30-May-2010 |
rmind | sync with head
|
| 1.5.62.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.5.40.1 |
| 11-Aug-2010 |
yamt | sync with head.
|
| 1.6.34.2 |
| 12-Aug-2017 |
snj | Pull up following revision(s) (requested by mrg in ticket #1485): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.6.34.1 |
| 22-Aug-2014 |
martin | branches: 1.6.34.1.2; 1.6.34.1.6; Pull up following revision(s) (requested by riastradh in ticket #44): sys/altq/altq_jobs.c 1.7 Fix error branches to avoid leaks, noted by maxv@. sys/dev/ic/oosiop.c 1.14 Fix leaks in oosiop_alloc_cb error branches, noted by maxv@. While here, avoid a sketchy pointer cast that probably falls afoul of strict aliasing rules. sys/dev/qbus/if_qe.c 1.73 Avoid leak in error branch, noted by maxv@, compile-tested for vax. sys/dev/rasops/rasops.c 1.72 Don't leak f on failure. Noted by maxv@. sys/dev/vme/if_ie_vme.c 1.31 Sizeof struct ievme, not sizeof size_t. Noted by maxv@, compile-tested for sparc. sys/net/if_gre.c 1.160 Don't leak in gre_clone_create error branch. Noted by maxv@, compile-tested for amd64.
|
| 1.6.34.1.6.1 |
| 12-Aug-2017 |
snj | Pull up following revision(s) (requested by mrg in ticket #1485): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.6.34.1.2.1 |
| 12-Aug-2017 |
snj | Pull up following revision(s) (requested by mrg in ticket #1485): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.6.28.2 |
| 19-Aug-2017 |
snj | Pull up following revision(s) (requested by mrg in ticket #1488): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.6.28.1 |
| 03-Nov-2014 |
msaitoh | Pull up following revision(s) (requested by riastradh in ticket #1117): sys/dev/rasops/rasops.c: revision 1.72 sys/dev/vme/if_ie_vme.c: revision 1.31 sys/dev/qbus/if_qe.c: revision 1.73 sys/altq/altq_jobs.c: revision 1.7 sys/net/if_gre.c: revision 1.160 sys/dev/ic/oosiop.c: revision 1.14 - Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@. - Fix leaks in oosiop_alloc_cb error branches, noted by maxv@. While here, avoid a sketchy pointer cast that probably falls afoul of strict aliasing rules. Compile-tested only, with hppa. - Don't leak f on failurein rasops.c. Noted by maxv@. Compile-tested only, with zaurus. - Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for vax. - Sizeof struct ievme, not sizeof size_t in if_ie_vme.c. Noted by maxv@, compile-tested for sparc. - Don't leak in gre_clone_create error branch. Noted by maxv@, compile-tested for amd64.
|
| 1.6.20.2 |
| 19-Aug-2017 |
snj | Pull up following revision(s) (requested by mrg in ticket #1488): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.6.20.1 |
| 03-Nov-2014 |
msaitoh | Pull up following revision(s) (requested by riastradh in ticket #1117): sys/dev/rasops/rasops.c: revision 1.72 sys/dev/vme/if_ie_vme.c: revision 1.31 sys/dev/qbus/if_qe.c: revision 1.73 sys/altq/altq_jobs.c: revision 1.7 sys/net/if_gre.c: revision 1.160 sys/dev/ic/oosiop.c: revision 1.14 - Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@. - Fix leaks in oosiop_alloc_cb error branches, noted by maxv@. While here, avoid a sketchy pointer cast that probably falls afoul of strict aliasing rules. Compile-tested only, with hppa. - Don't leak f on failurein rasops.c. Noted by maxv@. Compile-tested only, with zaurus. - Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for vax. - Sizeof struct ievme, not sizeof size_t in if_ie_vme.c. Noted by maxv@, compile-tested for sparc. - Don't leak in gre_clone_create error branch. Noted by maxv@, compile-tested for amd64.
|
| 1.6.18.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.6.14.2 |
| 19-Aug-2017 |
snj | Pull up following revision(s) (requested by mrg in ticket #1488): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.6.14.1 |
| 03-Nov-2014 |
msaitoh | Pull up following revision(s) (requested by riastradh in ticket #1117): sys/dev/rasops/rasops.c: revision 1.72 sys/dev/vme/if_ie_vme.c: revision 1.31 sys/dev/qbus/if_qe.c: revision 1.73 sys/altq/altq_jobs.c: revision 1.7 sys/net/if_gre.c: revision 1.160 sys/dev/ic/oosiop.c: revision 1.14 - Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@. - Fix leaks in oosiop_alloc_cb error branches, noted by maxv@. While here, avoid a sketchy pointer cast that probably falls afoul of strict aliasing rules. Compile-tested only, with hppa. - Don't leak f on failurein rasops.c. Noted by maxv@. Compile-tested only, with zaurus. - Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for vax. - Sizeof struct ievme, not sizeof size_t in if_ie_vme.c. Noted by maxv@, compile-tested for sparc. - Don't leak in gre_clone_create error branch. Noted by maxv@, compile-tested for amd64.
|
| 1.7.2.4 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.7.2.3 |
| 05-Dec-2016 |
skrll | Sync with HEAD
|
| 1.7.2.2 |
| 22-Apr-2016 |
skrll | Sync with HEAD
|
| 1.7.2.1 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.9.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
| 1.10.8.1 |
| 09-Aug-2017 |
snj | Pull up following revision(s) (requested by spz in ticket #198): sys/altq/altq_cbq.c: revision 1.31 sys/altq/altq_hfsc.c: revision 1.27 sys/altq/altq_jobs.c: revision 1.11 sys/altq/altq_priq.c: revision 1.24 sys/altq/altq_wfq.c: revision 1.22 Zero buffers copied to userland to avoid stack disclosure. From Ilja Van Sprundel. -- Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch the ioctl definitions without at least a modicum more thought. Also one of them is a u_long, because why not?) From Ilja Van Sprundel.
|
| 1.12.8.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.12.6.1 |
| 11-Nov-2023 |
thorpej | Mostly de-tangle ifnet::if_snd from ifaltq, in a way that's minimally- invasive to the ALTQ code itself.
The point of this is to lay the groundwork for future changes to ifqueue, which among other benefits, will also hide the ALTQ ABI from drivers.
|