Page MenuHomeFreeBSD

D49212.diff
No OneTemporary

D49212.diff

diff --git a/sys/net/route.h b/sys/net/route.h
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -376,8 +376,9 @@
#ifdef _KERNEL
-#define RT_LINK_IS_UP(ifp) (!((ifp)->if_capabilities & IFCAP_LINKSTATE) \
- || (ifp)->if_link_state == LINK_STATE_UP)
+#define RT_LINK_IS_UP(ifp) ((!((ifp)->if_capabilities & IFCAP_LINKSTATE) \
+ || (ifp)->if_link_state == LINK_STATE_UP) \
+ && (ifp)->if_afdata_initialized != 0)
#define RO_NHFREE(_ro) do { \
if ((_ro)->ro_nh) { \

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 17, 3:07 PM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28817162
Default Alt Text
D49212.diff (490 B)

Event Timeline