Jeff Garzik writes:
> For your HA application specifically, right now, I would suggest making
> sure your net driver calls netif_carrier_xxx correctly, then checking
> for IFF_RUNNING interface flag. IFF_RUNNING will disappear if the
> interface is up, but there is no carrier [as according to
> netif_carrier_ok].
Don't such HA apps need to run as root anyways?
Regardless, I agree that, long term, the way to do this is via netlink.
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:00:14 EST