From: Neil Horman Date: Sat, 3 Dec 2005 04:30:06 +0000 (-0800) Subject: [SCTP]: Return socket errors only if the receive queue is empty. X-Git-Tag: v2.6.15-rc5~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6736dc35e9e1b9c8084d5c362a429a3e8189af6b;p=pandora-kernel.git [SCTP]: Return socket errors only if the receive queue is empty. This patch fixes an issue where it is possible to get valid data after a ENOTCONN error. It returns socket errors only after data queued on socket receive queue is consumed. Signed-off-by: Neil Horman Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller --- Reading git-diff-tree failed