revert vlan(4) inherits TSO flags
authordlg <dlg@openbsd.org>
Sat, 22 Apr 2023 04:39:46 +0000 (04:39 +0000)
committerdlg <dlg@openbsd.org>
Sat, 22 Apr 2023 04:39:46 +0000 (04:39 +0000)
commit383cf4f1949216f192a4b4e68dc8992371c4886d
tree9d07537686d7e170318a0a2a1eadca47df2230cd
parent596644f2092d28e9105193d3baba1266a01b2faf
revert vlan(4) inherits TSO flags

tb reports amd64 RAMDISK doesn't build with it.

also, vlan_flags_from_parent doesn't look right right. it iterates
over ifnetlist, which is all interfaces in the system, but appears
to assume they're all vlan interfaces and so uses a vlan_softc *
to inspect their if_softc pointers.
sys/net/if.c
sys/net/if_vlan.c
sys/net/if_vlan_var.h