OpenSolaris

Printable Version Enter a New Search
Bug ID 6320428
Synopsis sendto() should return errors up the stack
State 3-Accepted (Yes, that is a problem)
Category:Subcategory kernel:sockfs
Keywords
Reported Against
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6414518 , 6220986
Submit Date 6-September-2005
Last Update Date 29-November-2007
Description
sendto does not currently return errors such as ENETUNREACH to the
calling application.

Due to the particular design and nature of the DNS server which uses
UDP sockets and sendto to query other name servers (see BugID 6220986)
named cannot detect these conditions (caused by routing table errors,
no routing, network problems, etc) and hence times out. On other operating
systems (Linux and BSD, in particular, sendto returning these errors
causing a faster error reporting back to the application, allowing it
to take the appropriate step.
After the Volo project, we may be able to return an
error on sendto() as it will be a direct function call
down the stack instead of message passing.
Work Around
N/A
Comments
N/A