]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dccp: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 08:46:09 +0000 (01:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 03:59:19 +0000 (12:59 +0900)
commit839a6094140ade97ccc548fcd63179506c5d7fe4
treee9b9d6ee85cdcabe72ef234230ae615ec80d84a4
parent7aa1402e2eb4988b09bf1671e9f968e6e5689b1d
net: dccp: 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. Adds a pointer back to the sock.

Cc: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Eric Dumazet <edumazet@google.com>
Cc: dccp@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid2.c
net/dccp/ccids/ccid2.h
net/dccp/ccids/ccid3.c
net/dccp/ccids/ccid3.h
net/dccp/timer.c