I think it would make sense, from the other sides perspective, to only return
from the "up" function when you actually can send packets[1]. Sure, pump show
this most of all because it does
"up"
send DHCP req
wait
if failed "down"
wait
repeat
and that sucks if you always eat the first packets after an up...
xircom had this bug for a loooong time, 8139too just got it a few weeks ago
and, well, from an applications point of view expecting to be able to send
packets when the interface is up makes sense.
Applications like pump must be robust against "random" packetloss, and,
well, pump is. Just not against the "targeted" packetloss of loosing every
first few packets.
Greetings,
Arjan van de Ven
[1] I know this is not always easy for the driverwrite. For one, xircom
will eat every first few packets, so the driver would have to send a few
fake packets to get going.
-
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/