diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-10-17 11:31:37 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-24 16:03:40 +0200 |
commit | 302fc6bbcba4beee6ff5e73c2fcc257e62667d4d (patch) | |
tree | c802d0fdb43f3e5bbd96538052d7fa0f027b9d7f /net/phonet/pn_dev.c | |
parent | b7d2fc9ad7fe75b536f94409b7f1e90e12e4f44d (diff) |
phonet: Pass ifindex to fill_route().
We will convert route_doit() to RCU.
route_doit() will call rtm_phonet_notify() outside of RCU due
to GFP_KERNEL, so dev will not be available in fill_route().
Let's pass ifindex directly to fill_route().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/phonet/pn_dev.c')
0 files changed, 0 insertions, 0 deletions