clean up span ports as span ports, not bridge ports.
authordlg <dlg@openbsd.org>
Wed, 3 Mar 2021 00:00:03 +0000 (00:00 +0000)
committerdlg <dlg@openbsd.org>
Wed, 3 Mar 2021 00:00:03 +0000 (00:00 +0000)
commite48dbd77f06afa6007a3e9630a0e94d9a4d0bf77
tree67309e5d08a304bf0330e4e4ff742eff1ceb19ed
parent679bfaf0cd195898f6bf5c874734dc9bc1cb6119
clean up span ports as span ports, not bridge ports.

the visible result of this is that span ports aren't made promisc
like bridge ports. when cleaning up a span port, trying to take
promisc off it screwed up the refs, and it makes the underlying
interface not able to be promisc when it should be promisc.

found by dave voutila
sys/net/if_veb.c