aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-11-12 08:43:18 -0800
committerDavid S. Miller <davem@davemloft.net>2015-11-15 18:36:38 -0500
commit00fd38d938db3f1ab1c486549afc450cb7e751b1 (patch)
tree484653a166b88da8777c900a01b2b8e0d5455147 /fs
parentnet: thunder: Fix crash upon shutdown after failed probe (diff)
downloadlinux-dev-00fd38d938db3f1ab1c486549afc450cb7e751b1.tar.xz
linux-dev-00fd38d938db3f1ab1c486549afc450cb7e751b1.zip
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions