net: sched: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 17 Oct 2017 00:29:17 +0000 (17:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 11:39:54 +0000 (12:39 +0100)
commitcdeabbb881343c1d554b83687a71f45280c592e0
tree3c948f039f3d8622c8e2c616de66e8fd799912c2
parent4cfea08e6251d1468b3a694e9543131a12be3ac9
net: sched: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. Add pointer back to Qdisc.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flow.c
net/sched/sch_generic.c
net/sched/sch_pie.c
net/sched/sch_red.c
net/sched/sch_sfq.c