linux/net/sched
Jarek Poplawski 77be155cba pkt_sched: Add peek emulation for non-work-conserving qdiscs.
This patch adds qdisc_peek_dequeued() wrapper to emulate peek method
with qdisc->dequeue() and storing "peeked" skb in qdisc->gso_skb until
dequeuing. This is mainly for compatibility reasons not to break some
strange configs because peeking is expected for non-work-conserving
parent qdiscs to query work-conserving child qdiscs.

This implementation requires using qdisc_dequeue_peeked() wrapper
instead of directly calling qdisc->dequeue() for all qdiscs ever
querried with qdisc->ops->peek() or qdisc_peek_dequeued().

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-31 00:47:01 -07:00
..
act_api.c net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely) 2008-10-16 15:24:51 -07:00
act_gact.c
act_ipt.c netfilter: xtables: provide invoked family value to extensions 2008-10-08 11:35:20 +02:00
act_mirred.c
act_nat.c
act_pedit.c
act_police.c
act_simple.c
act_skbedit.c pkt_action: add new action skbedit 2008-09-12 16:30:20 -07:00
cls_api.c net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely) 2008-10-16 15:24:51 -07:00
cls_basic.c
cls_flow.c net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
cls_fw.c
cls_route.c pkt_sched: Fix locking of qdisc_root with qdisc_root_sleeping_lock() 2008-08-29 14:27:52 -07:00
cls_rsvp6.c
cls_rsvp.c
cls_rsvp.h
cls_tcindex.c
cls_u32.c
em_cmp.c net: em_cmp.c use unaligned access helpers 2008-09-22 19:20:51 -07:00
em_meta.c
em_nbyte.c
em_text.c
em_u32.c
ematch.c net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely) 2008-10-16 15:24:51 -07:00
Kconfig pkt_action: add new action skbedit 2008-09-12 16:30:20 -07:00
Makefile pkt_action: add new action skbedit 2008-09-12 16:30:20 -07:00
sch_api.c pkt_sched: sch_generic: Add generic qdisc->ops->peek() implementation. 2008-10-31 00:45:27 -07:00
sch_atm.c pkt_sched: Add peek emulation for non-work-conserving qdiscs. 2008-10-31 00:47:01 -07:00
sch_blackhole.c pkt_sched: Add qdisc->ops->peek() implementation. 2008-10-31 00:45:55 -07:00
sch_cbq.c pkt_sched: Add peek emulation for non-work-conserving qdiscs. 2008-10-31 00:47:01 -07:00
sch_dsmark.c pkt_sched: Add qdisc->ops->peek() implementation. 2008-10-31 00:45:55 -07:00
sch_fifo.c pkt_sched: Add ->peek() methods for fifo, prio and SFQ qdiscs. 2008-10-31 00:44:18 -07:00
sch_generic.c pkt_sched: sch_generic: Add generic qdisc->ops->peek() implementation. 2008-10-31 00:45:27 -07:00
sch_gred.c pkt_sched: Add qdisc->ops->peek() implementation. 2008-10-31 00:45:55 -07:00
sch_hfsc.c pkt_sched: Add peek emulation for non-work-conserving qdiscs. 2008-10-31 00:47:01 -07:00
sch_htb.c pkt_sched: Add peek emulation for non-work-conserving qdiscs. 2008-10-31 00:47:01 -07:00
sch_ingress.c
sch_multiq.c pkt_sched: Add qdisc->ops->peek() implementation. 2008-10-31 00:45:55 -07:00
sch_netem.c pkt_sched: Add peek emulation for non-work-conserving qdiscs. 2008-10-31 00:47:01 -07:00
sch_prio.c pkt_sched: Add ->peek() methods for fifo, prio and SFQ qdiscs. 2008-10-31 00:44:18 -07:00
sch_red.c pkt_sched: Add qdisc->ops->peek() implementation. 2008-10-31 00:45:55 -07:00
sch_sfq.c pkt_sched: Add ->peek() methods for fifo, prio and SFQ qdiscs. 2008-10-31 00:44:18 -07:00
sch_tbf.c pkt_sched: Add peek emulation for non-work-conserving qdiscs. 2008-10-31 00:47:01 -07:00
sch_teql.c pkt_sched: Add qdisc->ops->peek() implementation. 2008-10-31 00:45:55 -07:00