android_kernel_xiaomi_sm8350/net/sched
David S. Miller 4335cd2da1 pkt_sched: Simplify dev_deactivate() polling loop.
The condition under which the previous qdisc has no more references
after we've attached &noop_qdisc is that both RUNNING and SCHED
are both seen clear while holding the root lock.

So just make specifically that check in the polling loop, instead
of this overly complex "check without then check with lock held"
sequence.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-17 21:58:07 -07:00
..
act_api.c net-sched: fix Action flushing return code 2008-08-13 02:41:45 -07:00
act_gact.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
act_ipt.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
act_mirred.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
act_nat.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
act_pedit.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
act_police.c net: convert BUG_TRAP to generic WARN_ON 2008-07-25 21:43:18 -07:00
act_simple.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
cls_api.c pkt_sched: Fix unlocking in tc_ctl_tfilter() 2008-08-14 17:01:10 -07:00
cls_basic.c [NET_SCHED]: Constify struct tcf_ext_map 2008-01-31 19:28:34 -08:00
cls_flow.c net-sched: cls_flow: add perturbation support 2008-07-14 20:36:32 -07:00
cls_fw.c [NET_SCHED]: Constify struct tcf_ext_map 2008-01-31 19:28:34 -08:00
cls_route.c pkt_sched: Kill qdisc_lock_tree usage in cls_route.c 2008-07-17 19:21:25 -07:00
cls_rsvp6.c
cls_rsvp.c
cls_rsvp.h
cls_tcindex.c [NET_SCHED]: Constify struct tcf_ext_map 2008-01-31 19:28:34 -08:00
cls_u32.c net: convert BUG_TRAP to generic WARN_ON 2008-07-25 21:43:18 -07:00
em_cmp.c
em_meta.c [IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid casts 2008-03-05 18:30:47 -08:00
em_nbyte.c
em_text.c
em_u32.c [PKT_SCHED]: annotate cls_u32 2008-03-17 22:46:46 -07:00
ematch.c [PKT_SCHED] ematch: Fix build warning. 2008-02-10 03:48:15 -08:00
Kconfig pkt_sched: Remove CONFIG_NET_SCH_RR 2008-06-27 19:54:05 -07:00
Makefile [NET_SCHED]: Add flow classifier 2008-01-31 19:28:36 -08:00
sch_api.c pkt_sched: Add BH protection for qdisc_stab_lock. 2008-08-11 18:11:06 -07:00
sch_atm.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_blackhole.c
sch_cbq.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_dsmark.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_fifo.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
sch_generic.c pkt_sched: Simplify dev_deactivate() polling loop. 2008-08-17 21:58:07 -07:00
sch_gred.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
sch_hfsc.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_htb.c pkt_sched: Fix oops in htb_delete. 2008-08-13 15:16:43 -07:00
sch_ingress.c net_sched: Add accessor function for packet length for qdiscs 2008-07-20 00:08:27 -07:00
sch_netem.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_prio.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_red.c net_sched: Add qdisc __NET_XMIT_STOLEN flag 2008-08-04 22:31:03 -07:00
sch_sfq.c net_sched: Add qdisc __NET_XMIT_BYPASS flag 2008-08-04 22:39:11 -07:00
sch_tbf.c net_sched: Add qdisc __NET_XMIT_STOLEN flag 2008-08-04 22:31:03 -07:00
sch_teql.c netdev: Fix lockdep warnings in multiqueue configurations. 2008-07-31 16:58:50 -07:00