tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ping: sendto: No buffer space available



fair%NetBSD.org@localhost (Erik Fair) writes:

>On second thought, the kernel should block on that condition, unless the 
>user code has explicitly set a non-blocking flag (and thus indicated its 
>ability/willingness to handle the "queue is full" error with appropriate 
>behavior). Otherwise, we're simply going to get naive application code 
>that bangs away at sending without appropriate exponential backoff.

IP does not guarantee that a packet is received or sent and
exponential backoff to send errors is usually the wrong thing to do.
After all that's not a collision with an independent process.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index