From: Hendrik Brueckner Date: Wed, 17 Jun 2009 21:54:48 +0000 (+0000) Subject: af_iucv: Return -EAGAIN if iucv msg limit is exceeded X-Git-Tag: v2.6.31-rc1~63^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ea920d211e0a870871965418923b08da2025b4a;p=pandora-kernel.git 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 Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed