diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-11-08 03:48:20 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-12 04:26:52 +0300 |
| commit | 6b84e558e95d95f3bb1139dfbb693bc22c760dad (patch) | |
| tree | f62276ff7dfefd01c9d779934fa2305cdd3d2868 /rust/helpers/task.c | |
| parent | 0eb87b02a7058f1dc64bcd6fa619d8556186de3d (diff) | |
| download | linux-6b84e558e95d95f3bb1139dfbb693bc22c760dad.tar.xz | |
vxcan: Set VXCAN_INFO_PEER to vxcan_link_ops.peer_type.
For per-netns RTNL, we need to prefetch the peer device's netns.
Let's set rtnl_link_ops.peer_type and accordingly remove duplicated
validation in ->newlink().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20241108004823.29419-8-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
