1. Aug 29, 2022
  2. Aug 26, 2022
  3. Aug 25, 2022
  4. Aug 24, 2022
    • David S. Miller's avatar
      Merge branch 'sysctl-data-races' · 0c4a9541
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      0c4a9541