diff options
| author | Eric Dumazet <[email protected]> | 2015-11-12 16:43:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-15 23:36:38 +0000 |
| commit | 00fd38d938db3f1ab1c486549afc450cb7e751b1 (patch) | |
| tree | 484653a166b88da8777c900a01b2b8e0d5455147 /drivers/fpga/fpga-mgr.c | |
| parent | net: thunder: Fix crash upon shutdown after failed probe (diff) | |
| download | kernel-00fd38d938db3f1ab1c486549afc450cb7e751b1.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
