diff options
author | 2025-04-17 17:03:49 -0700 | |
---|---|---|
committer | 2025-04-24 09:29:56 +0200 | |
commit | d27b9c40dbd66aa78b3e6657e600cf057a48ac1e (patch) | |
tree | 1423150bc6b5f6f2cd39649e8550928320c3ce55 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipv6: Preallocate rt->fib6_nh->rt6i_pcpu in ip6_route_info_create(). (diff) | |
download | wireguard-linux-d27b9c40dbd66aa78b3e6657e600cf057a48ac1e.tar.xz wireguard-linux-d27b9c40dbd66aa78b3e6657e600cf057a48ac1e.zip |
ipv6: Preallocate nhc_pcpu_rth_output in ip6_route_info_create().
ip6_route_info_create_nh() will be called under RCU.
It calls fib_nh_common_init() and allocates nhc->nhc_pcpu_rth_output.
As with the reason for rt->fib6_nh->rt6i_pcpu, we want to avoid
GFP_ATOMIC allocation for nhc->nhc_pcpu_rth_output under RCU.
Let's preallocate it in ip6_route_info_create().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250418000443.43734-9-kuniyu@amazon.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions