diff options
| author | Daniel Xu <[email protected]> | 2022-11-09 19:39:07 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2022-11-18 14:21:00 +0000 |
| commit | 52d1aa8b8249ff477aaa38b6f74a8ced780d079c (patch) | |
| tree | ac248cfe960bc3483f2aeea8a9e0257907952e83 /net/tipc/socket.h | |
| parent | ipvlan: hold lower dev to avoid possible use-after-free (diff) | |
| download | kernel-52d1aa8b8249ff477aaa38b6f74a8ced780d079c.tar.gz kernel-52d1aa8b8249ff477aaa38b6f74a8ced780d079c.zip | |
netfilter: conntrack: Fix data-races around ct mark
nf_conn:mark can be read from and written to in parallel. Use
READ_ONCE()/WRITE_ONCE() for reads and writes to prevent unwanted
compiler optimizations.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Daniel Xu <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/tipc/socket.h')
0 files changed, 0 insertions, 0 deletions
