diff options
author | zec <zec@FreeBSD.org> | 2011-05-24 14:10:33 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2011-05-24 14:10:33 +0000 |
commit | b3769a4355d61333f6b11fd0ccac65cddb54a3a8 (patch) | |
tree | 850c8da0ebcac46cb31c7bad7aec5c9ed1c12f81 /share | |
parent | 7028e129fd10d1c1da25e7ac0581af6637d89df5 (diff) | |
download | FreeBSD-src-b3769a4355d61333f6b11fd0ccac65cddb54a3a8.zip FreeBSD-src-b3769a4355d61333f6b11fd0ccac65cddb54a3a8.tar.gz |
Provide fake link status information in an attempt to let ng_eiface(4)
virtual ifnets more realistically mimic physical ethernet interfaces.
The main motivation behind this change is to allow for ng_eiface(4)
interfaces to participate in STP if_bridge(4) configurations.
When announcing link status changes, switch to the vnet to which the
ifnet belongs, since it is possible for ng_eiface ifnets to be assigned
to a vnet different from the one in which its netgraph node resides.
MFC after: 3 days
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions