aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netkit.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-11-08 00:48:19 +0000
committerJakub Kicinski <[email protected]>2024-11-12 01:26:52 +0000
commit0eb87b02a7058f1dc64bcd6fa619d8556186de3d (patch)
treeea2c34d91218817accdc338cca4fdf2e088abf03 /drivers/net/netkit.c
parentrtnetlink: Add peer_type in struct rtnl_link_ops. (diff)
downloadkernel-0eb87b02a7058f1dc64bcd6fa619d8556186de3d.tar.gz
kernel-0eb87b02a7058f1dc64bcd6fa619d8556186de3d.zip
veth: Set VETH_INFO_PEER to veth_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