diff options
author | Eric Dumazet <edumazet@google.com> | 2021-12-02 03:26:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-02 12:56:04 +0100 |
commit | 213f5f8f31f10aa1e83187ae20fb7fa4e626b724 (patch) | |
tree | befc53d79958834fbd3751c444cf98786dde5188 /fs/io_uring.c | |
parent | net: avoid uninit-value from tcp_conn_request (diff) | |
download | linux-213f5f8f31f10aa1e83187ae20fb7fa4e626b724.tar.xz linux-213f5f8f31f10aa1e83187ae20fb7fa4e626b724.zip |
ipv4: convert fib_num_tclassid_users to atomic_t
Before commit faa041a40b9f ("ipv4: Create cleanup helper for fib_nh")
changes to net->ipv4.fib_num_tclassid_users were protected by RTNL.
After the change, this is no longer the case, as free_fib_info_rcu()
runs after rcu grace period, without rtnl being held.
Fixes: faa041a40b9f ("ipv4: Create cleanup helper for fib_nh")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Ahern <dsahern@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions