diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-06-05 01:46:22 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-09 03:06:23 +0300 |
| commit | c2f5fd21aca4c7d002bbf264da4464509674ee78 (patch) | |
| tree | 341a15c24442773c8ee9cc6f2f6cf4638ba1b8a3 /include | |
| parent | 36be7d7c5ded0d70c3384e4730664e25b8d076fc (diff) | |
| download | linux-c2f5fd21aca4c7d002bbf264da4464509674ee78.tar.xz | |
ip6mr: Allocate skb earlier in ip6mr_rtm_getroute().
We will convert ip6mr_rtm_getroute() to RCU in the following patch,
where __ip6mr_get_table() will be called under RCU.
nlmsg_new() uses GFP_KERNEL and needs to be called before holding
rcu_read_lock().
As a prep, let's move nlmsg_new() before __ip6mr_get_table().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260604224712.3209821-5-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
