diff options
| author | 2026-04-10 09:23:34 +0200 | |
|---|---|---|
| committer | 2026-04-12 09:43:10 -0700 | |
| commit | e530b484b70552d6222e2327e311f364724ce616 (patch) | |
| tree | cbe6cacc9a8c752bbc9ea48d18a8e5bcf405d4ad /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | net: lan743x: rename chip_rev to fpga_rev (diff) | |
netkit: Don't emit scrub attribute for single device mode
When userspace reads a single mode netkit device via RTM_GETLINK,
it receives IFLA_NETKIT_SCRUB=NETKIT_SCRUB_DEFAULT attribute from
netkit_fill_info(). If that attribute is echoed back to recreate
the device, the seen_scrub presence check in netkit_new_link()
causes creation to fail with -EOPNOTSUPP. Since it has no meaning
for single devices at this point, just don't dump it.
Fixes: 481038960538 ("netkit: Add single device mode for netkit")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20260410072334.548232-1-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
