- Merge following link state detection fixes from FreeBSD: