diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2006-03-06 02:28:41 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2006-03-06 02:28:41 +0000 |
commit | e1457c3eb1ac050ab0159a5089f8e050a8012c7f (patch) | |
tree | 58473077b11a316258be2903930f133daee44176 /sys/net/if_bridgevar.h | |
parent | 2017e1cbae79acb1b22e73cb3d983666577bbb5c (diff) | |
download | src-e1457c3eb1ac050ab0159a5089f8e050a8012c7f.tar.gz src-e1457c3eb1ac050ab0159a5089f8e050a8012c7f.zip |
If we miss the LINK_UP event from the network interface then the bridge port
will remain in the disabled state until another link event happens in the
future (if at all). Add a timer to periodically check the interface state and
recover.
Reported by: Nik Lam <freebsdnik j2d.lam.net.au>
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=156328
Diffstat (limited to 'sys/net/if_bridgevar.h')
-rw-r--r-- | sys/net/if_bridgevar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_bridgevar.h b/sys/net/if_bridgevar.h index c512880bc1d5..4ac7307e3387 100644 --- a/sys/net/if_bridgevar.h +++ b/sys/net/if_bridgevar.h @@ -301,6 +301,7 @@ struct bridge_softc { LIST_HEAD(, bridge_rtnode) sc_rtlist; /* list version of above */ uint32_t sc_rthash_key; /* key for hash */ LIST_HEAD(, bridge_iflist) sc_spanlist; /* span ports list */ + struct bridge_timer sc_link_timer; }; #define BRIDGE_LOCK_INIT(_sc) do { \ |