]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39104f2154bd761b44ab3b045139a2e507ba4979
tree3c948f039f3d8622c8e2c616de66e8fd799912c2
parent4e9c63d3e7f455dcea1626f961081053bc848e8b
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