Re: Detecting link up

From: Oliver Neukum
Date: Wed May 18 2005 - 10:14:14 EST


Am Mittwoch, 18. Mai 2005 16:37 schrieb Max Kellermann:
> A thought on a related topic:
>
> When a NIC driver knows that there is no link, why does it even try to
> transmit a packet? It could return immediately with an error code,
> without applications having to wait for a timeout.

That would be a duplication of work. If the driver provides
link detection the network core could check for it.

Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/