Lines 2042-2048
bstp_reinit(struct bstp_state *bs)
Link Here
|
2042 |
*/ |
2042 |
*/ |
2043 |
IFNET_RLOCK_NOSLEEP(); |
2043 |
IFNET_RLOCK_NOSLEEP(); |
2044 |
TAILQ_FOREACH(ifp, &V_ifnet, if_link) { |
2044 |
TAILQ_FOREACH(ifp, &V_ifnet, if_link) { |
2045 |
if (ifp->if_type != IFT_ETHER) |
2045 |
if (ifp->if_type != IFT_ETHER && ifp->if_type != IFT_L2VLAN) |
2046 |
continue; /* Not Ethernet */ |
2046 |
continue; /* Not Ethernet */ |
2047 |
|
2047 |
|
2048 |
if (ifp->if_bridge != bridgeptr) |
2048 |
if (ifp->if_bridge != bridgeptr) |
Lines 2230-2235
bstp_enable(struct bstp_port *bp)
Link Here
|
2230 |
|
2230 |
|
2231 |
switch (ifp->if_type) { |
2231 |
switch (ifp->if_type) { |
2232 |
case IFT_ETHER: /* These can do spanning tree. */ |
2232 |
case IFT_ETHER: /* These can do spanning tree. */ |
|
|
2233 |
case IFT_L2VLAN: |
2233 |
break; |
2234 |
break; |
2234 |
default: |
2235 |
default: |
2235 |
/* Nothing else can. */ |
2236 |
/* Nothing else can. */ |