mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 09:39:26 -05:00
leave a port permanently disabled when a copper cable is unplugged and then plugged right back in. lacp_linkstate goes looking for the current ifmedia on a link state change and it could get stale information from cxgbe(4) on a module unplug followed by replug. The fix is to process module events before link-state events within the driver, and to always rebuild the ifmedia list on a module change event (instead of rebuilding it lazily). Thanks to asomers@ for the problem report and detailed analysis to go with it. MFC after: 1 week |
||
|---|---|---|
| .. | ||
| common.h | ||
| t4_hw.c | ||
| t4_hw.h | ||
| t4_msg.h | ||
| t4_regs.h | ||
| t4_regs_values.h | ||
| t4_tcb.h | ||