kernel-hacking-2024-linux-s.../include
Eric Dumazet 00fd38d938 tcp: ensure proper barriers in lockless contexts
Some functions access TCP sockets without holding a lock and
might output non consistent data, depending on compiler and or
architecture.

tcp_diag_get_info(), tcp_get_info(), tcp_poll(), get_tcp4_sock() ...

Introduce sk_state_load() and sk_state_store() to fix the issues,
and more clearly document where this lack of locking is happening.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-15 18:36:38 -05:00
..
acpi
asm-generic pci: remove pci_dma_supported 2015-11-10 16:32:11 -08:00
clocksource
crypto
drm Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-11-10 09:33:06 -08:00
dt-bindings ARM: DT updates for v4.4 2015-11-10 15:06:26 -08:00
keys
kvm
linux Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf 2015-11-12 14:17:16 -05:00
math-emu
media
memory
misc
net tcp: ensure proper barriers in lockless contexts 2015-11-15 18:36:38 -05:00
pcmcia
ras
rdma
rxrpc
scsi
soc ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00
sound
target
trace
uapi ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00
video
xen
Kbuild