]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
timers: no need to clear keepalive in persistent keepalive
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 18 May 2018 23:52:17 +0000 (01:52 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 19 May 2018 00:40:22 +0000 (02:40 +0200)
commit5a267f0b8cc8aa712b8171f43bea36d0f5767f39
tree85dbcac5846f58444cd1001edbe2f3dac6c0b6d8
parent870734ab5e1ee1dd3f8859381c9f173c30ed197f
timers: no need to clear keepalive in persistent keepalive

We do this after sending the keepalive anyway.

This is something of a regression, though, since before we'd cancel and
then send, but now we send and then cancel, so it introduces a potential
race, but hopefully that isn't too big of a deal.

Kernel module commit a24b3e6e15ae1ea1291666e5da910caf43eedbaf
timers.go