diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2005-12-03 07:30:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-12-03 07:30:06 +0300 |
commit | 6736dc35e9e1b9c8084d5c362a429a3e8189af6b (patch) | |
tree | eeead909e51390c8e5c3df73bcf3dbddbba71575 /net/sctp/transport.c | |
parent | 1b0997f561bf46689cc6e0903f342e9bf2506bf1 (diff) | |
download | linux-6736dc35e9e1b9c8084d5c362a429a3e8189af6b.tar.xz |
[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 <nhorman@tuxdriver.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/transport.c')
0 files changed, 0 insertions, 0 deletions