net: af_packet: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 08:46:26 +0000 (01:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 04:01:12 +0000 (13:01 +0900)
commit17bfd8c89fb62219fa27a10b9475daea74d20a15
tree24182220f2d75b59f5db52447c4ded6d7e65cb2a
parentdda436b7accffd5313e8fd8338f724376c6fcda2
net: af_packet: 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.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Mike Maloney <maloney@google.com>
Cc: Jarno Rajahalme <jarno@ovn.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c