6789298 SO_{SND,RCV}TIMEO should be passed down to the protocol
6789917 SO_SNDTIMEO/SO_RCVTIMEO should return EAGAIN when timeout occurs and no data was received or sent.
diff --git a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
index 781fe10..8988286 100644
--- a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
+++ b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
@@ -317,7 +317,7 @@
 		if (error == 0)
 			return (EINTR);
 		else if (error == -1)
-			return (ETIME);
+			return (EAGAIN);
 	}
 	return (0);
 }
@@ -946,7 +946,7 @@
 				if (error == 0) {
 					error = EINTR;
 				} else if (error == -1) {
-					error = ETIME;
+					error = EAGAIN;
 				} else {
 					goto again1;
 				}