diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2009-06-17 21:54:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-19 00:10:40 -0700 |
commit | 0ea920d211e0a870871965418923b08da2025b4a (patch) | |
tree | 5dc3451a2011f0d32839b5aef20d9aaec1da78cf /sound/soc/pxa | |
parent | bb664f49f8be17d7b8bf9821144e8a53d7fcfe8a (diff) |
af_iucv: Return -EAGAIN if iucv msg limit is exceeded
If the iucv message limit for a communication path is exceeded,
sendmsg() returns -EAGAIN instead of -EPIPE.
The calling application can then handle this error situtation,
e.g. to try again after waiting some time.
For blocking sockets, sendmsg() waits up to the socket timeout
before returning -EAGAIN. For the new wait condition, a macro
has been introduced and the iucv_sock_wait_state() has been
refactored to this macro.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/soc/pxa')
0 files changed, 0 insertions, 0 deletions