diff options
| author | Kuniyuki Iwashima <[email protected]> | 2024-11-08 00:48:20 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-12 01:26:52 +0000 |
| commit | 6b84e558e95d95f3bb1139dfbb693bc22c760dad (patch) | |
| tree | f62276ff7dfefd01c9d779934fa2305cdd3d2868 /drivers/net/netkit.c | |
| parent | veth: Set VETH_INFO_PEER to veth_link_ops.peer_type. (diff) | |
| download | kernel-6b84e558e95d95f3bb1139dfbb693bc22c760dad.tar.gz kernel-6b84e558e95d95f3bb1139dfbb693bc22c760dad.zip | |
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 <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions
