Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 21:56:25 GMT
From:      Jakub Wojciech Klama <jceel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 195062 for review
Message-ID:  <201106202156.p5KLuPGB013149@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@195062?ac=10

Change 195062 by jceel@jceel_cyclone on 2011/06/20 21:55:28

	Temporary workaround for broken link status reporting in if_lpe.

Affected files ...

.. //depot/projects/soc2011/jceel_lpc/sys/net/route.h#2 edit

Differences ...

==== //depot/projects/soc2011/jceel_lpc/sys/net/route.h#2 (text+ko) ====

@@ -319,8 +319,11 @@
 
 #ifdef _KERNEL
 
+#if 0
 #define RT_LINK_IS_UP(ifp)	(!((ifp)->if_capabilities & IFCAP_LINKSTATE) \
 				 || (ifp)->if_link_state == LINK_STATE_UP)
+#endif
+#define	RT_LINK_IS_UP(ifp)	(1)
 
 #define	RT_LOCK_INIT(_rt) \
 	mtx_init(&(_rt)->rt_mtx, "rtentry", NULL, MTX_DEF | MTX_DUPOK)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106202156.p5KLuPGB013149>