aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/uapi
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-07-08 12:10:34 +0100
committerDavid S. Miller <davem@davemloft.net>2022-07-08 12:10:34 +0100
commit32b3ad1418ea53184ab7d652f13b5d66414d1bba (patch)
treeab1e05b75bb9090148ce3c2473b9c3c1ccfd1f36 /tools/include/uapi
parentnet: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer (diff)
parentipv4: Fix a data-race around sysctl_fib_sync_mem. (diff)
downloadlinux-dev-32b3ad1418ea53184ab7d652f13b5d66414d1bba.tar.xz
linux-dev-32b3ad1418ea53184ab7d652f13b5d66414d1bba.zip
Merge branch 'sysctl-data-races'
Kuniyuki Iwashima says: ==================== sysctl: Fix data-races around ipv4_table. A sysctl variable is accessed concurrently, and there is always a chance of data-race. So, all readers and writers need some basic protection to avoid load/store-tearing. The first half of this series changes some proc handlers used in ipv4_table to use READ_ONCE() and WRITE_ONCE() internally to fix data-races on the sysctl side. Then, the second half adds READ_ONCE() to the other readers of ipv4_table. Changes: v2: * Drop some changes that makes backporting difficult * First cleanup patch * Lockless helpers and .proc_handler changes * Drop the tracing part for .sysctl_mem * Steve already posted a fix * Drop int-to-bool change for cipso * Should be posted to net-next later * Drop proc_dobool() change * Can be included in another series v1: https://lore.kernel.org/netdev/20220706052130.16368-1-kuniyu@amazon.com/ ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/include/uapi')
0 files changed, 0 insertions, 0 deletions