Page MenuHomeFreeBSD

if_clone: don't overwrite dump_nl of drivers
ClosedPublic

Authored by pouria on Dec 12 2025, 12:37 PM.
Tags
None
Referenced Files
F151356289: D54190.id.diff
Tue, Apr 7, 8:48 PM
Unknown Object (File)
Mon, Apr 6, 3:05 PM
Unknown Object (File)
Sat, Apr 4, 5:10 PM
Unknown Object (File)
Sat, Apr 4, 2:26 PM
Unknown Object (File)
Sat, Apr 4, 6:15 AM
Unknown Object (File)
Sun, Mar 29, 12:45 PM
Unknown Object (File)
Tue, Mar 24, 7:28 PM
Unknown Object (File)
Sat, Mar 21, 4:01 PM
Subscribers

Details

Summary

if_clone: don't overwrite dump_nl of drivers with default.
required by D54172.

Test Plan

The only existing interface driver that uses nl_dump is if_vlan,
and there no user for its nl_dump. ifconfig uses ioctl for if_vlan.
To test status functionality of ifconfig vlan:

ifconfig epair0 create up
jail -c persist name=nlvnet1 mount.devfs devfs_ruleset=5 vnet
vnet.interface=epair0b path=/
ifconfig -j nlvnet1 epair0b up
ifconfig vlan0 create inet6 2001:db8::1 vlan 10 vlandev epair0a
ifconfig -j nlvnet1 vlan0

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable