linux-bl808/include
Guillaume Nault 721c8dafad tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
Syncookies borrow the ->rx_opt.ts_recent_stamp field to store the
timestamp of the last synflood. Protect them with READ_ONCE() and
WRITE_ONCE() since reads and writes aren't serialised.

Use of .rx_opt.ts_recent_stamp for storing the synflood timestamp was
introduced by a0f82f64e2 ("syncookies: remove last_synq_overflow from
struct tcp_sock"). But unprotected accesses were already there when
timestamp was stored in .last_synq_overflow.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-06 21:05:14 -08:00
..
acpi
asm-generic Merge branch 'akpm' (patches from Andrew) 2019-12-01 20:36:41 -08:00
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux tcp: fix rejected syncookies due to stale timestamps 2019-12-06 21:05:14 -08:00
math-emu
media
misc
net tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE() 2019-12-06 21:05:14 -08:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace Merge branch 'akpm' (patches from Andrew) 2019-12-01 20:36:41 -08:00
uapi
vdso
video
xen
Kbuild