aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireless/intel/iwlwifi/mld/tests/utils.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-02-27 20:23:24 -0800
committerJakub Kicinski <kuba@kernel.org>2025-03-03 15:04:10 -0800
commit9f7f3ebeba9388c30b0cba9dc5df0c43d0e07605 (patch)
tree6674dadbb23b00d3ff820f17c6fa4577c5717687 /drivers/net/wireless/intel/iwlwifi/mld/tests/utils.c
parentipv4: fib: Add fib_info_hash_grow(). (diff)
downloadwireguard-linux-9f7f3ebeba9388c30b0cba9dc5df0c43d0e07605.tar.xz
wireguard-linux-9f7f3ebeba9388c30b0cba9dc5df0c43d0e07605.zip
ipv4: fib: Namespacify fib_info hash tables.
We will convert RTM_NEWROUTE and RTM_DELROUTE to per-netns RTNL. Then, we need to have per-netns hash tables for struct fib_info. Let's allocate the hash tables per netns. fib_info_hash, fib_info_hash_bits, and fib_info_cnt are now moved to struct netns_ipv4 and accessed with net->ipv4.fib_XXX. Also, the netns checks are removed from fib_find_info_nh() and fib_find_info(). Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20250228042328.96624-9-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mld/tests/utils.c')
0 files changed, 0 insertions, 0 deletions