path: root/arch/cris/include/uapi
diff options
authorKeller, Jacob E <>2013-03-28 11:19:25 +0000
committerDavid S. Miller <>2013-03-31 19:44:20 -0400
commit7d4c04fc170087119727119074e72445f2bb192b (patch)
treed76759bfe44399949f70cc344f3be76b8448cac2 /arch/cris/include/uapi
parent4eb06148250f92e1e58bf069c309dac173e8b5f7 (diff)
net: add option to enable error queue packets waking select
Currently, when a socket receives something on the error queue it only wakes up the socket on select if it is in the "read" list, that is the socket has something to read. It is useful also to wake the socket if it is in the error list, which would enable software to wait on error queue packets without waking up for regular data on the socket. The main use case is for receiving timestamped transmit packets which return the timestamp to the socket via the error queue. This enables an application to select on the socket for the error queue only instead of for the regular traffic. -v2- * Added the SO_SELECT_ERR_QUEUE socket option to every architechture specific file * Modified every socket poll function that checks error queue Signed-off-by: Jacob Keller <> Cc: Jeffrey Kirsher <> Cc: Richard Cochran <> Cc: Matthew Vick <> Signed-off-by: David S. Miller <>
Diffstat (limited to 'arch/cris/include/uapi')
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/cris/include/uapi/asm/socket.h b/arch/cris/include/uapi/asm/socket.h
index 50692b738c75..ba409c9947bc 100644
--- a/arch/cris/include/uapi/asm/socket.h
+++ b/arch/cris/include/uapi/asm/socket.h
@@ -74,6 +74,8 @@
#define SO_LOCK_FILTER 44
#endif /* _ASM_SOCKET_H */