diff options
author | David S. Miller <davem@davemloft.net> | 2022-08-24 14:46:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-08-24 14:46:59 +0200 |
commit | 0c4a95417ee4b1013ddf115fb6dbe36a2503a598 (patch) | |
tree | 7ec90a2dd4a26d38004c039257620480dc404d31 /net/dsa | |
parent | net/core/skbuff: Check the return value of skb_copy_bits() (diff) | |
parent | net: Fix a data-race around sysctl_somaxconn. (diff) | |
download | linux-0c4a95417ee4b1013ddf115fb6dbe36a2503a598.tar.xz linux-0c4a95417ee4b1013ddf115fb6dbe36a2503a598.zip |
Merge branch 'sysctl-data-races'
Kuniyuki Iwashima says:
====================
net: sysctl: Fix data-races around net.core.XXX
This series fixes data-races around all knobs in net_core_table and
netns_core_table except for bpf stuff.
These knobs are skipped:
- 4 bpf knobs
- netdev_rss_key: Written only once by net_get_random_once() and
read-only knob
- rps_sock_flow_entries: Protected with sock_flow_mutex
- flow_limit_cpu_bitmap: Protected with flow_limit_update_mutex
- flow_limit_table_len: Protected with flow_limit_update_mutex
- default_qdisc: Protected with qdisc_mod_lock
- warnings: Unused
- high_order_alloc_disable: Protected with static_key_mutex
- skb_defer_max: Already using READ_ONCE()
- sysctl_txrehash: Already using READ_ONCE()
Note 5th patch fixes net.core.message_cost and net.core.message_burst,
and lib/ratelimit.c does not have an explicit maintainer.
Changes:
v3:
* Fix build failures of CONFIG_SYSCTL=n case in 13th & 14th patches
v2: https://lore.kernel.org/netdev/20220818035227.81567-1-kuniyu@amazon.com/
* Remove 4 bpf knobs and added 6 knobs
v1: https://lore.kernel.org/netdev/20220816052347.70042-1-kuniyu@amazon.com/
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions