Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-05-07 | device: remove unusual ... in messages | Jason A. Donenfeld | 1 | -2/+2 | |
We dont use ... in any other present progressive messages except these. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2021-05-07 | device: avoid verbose log line during ordinary shutdown sequence | Jason A. Donenfeld | 1 | -1/+1 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2021-05-07 | tun: windows: set event before waiting | Jason A. Donenfeld | 1 | -18/+18 | |
In 097af6e ("tun: windows: protect reads from closing") we made sure no functions are running when End() is called, to avoid a UaF. But we still need to kick that event somehow, so that Read() is allowed to exit, in order to release the lock. So this commit calls SetEvent, while moving the closing boolean to be atomic so it can be modified without locks, and then moves to a WaitGroup for the RCU-like pattern. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
2021-05-07 | tun: windows: rearrange struct to avoid alignment trap on 32bit | Jason A. Donenfeld | 1 | -4/+4 | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |