]> Git Repo - linux.git/commit
[SCTP]: Return socket errors only if the receive queue is empty.
authorNeil Horman <[email protected]>
Sat, 3 Dec 2005 04:30:06 +0000 (20:30 -0800)
committerDavid S. Miller <[email protected]>
Sat, 3 Dec 2005 04:30:06 +0000 (20:30 -0800)
commit6736dc35e9e1b9c8084d5c362a429a3e8189af6b
treeeeead909e51390c8e5c3df73bcf3dbddbba71575
parent1b0997f561bf46689cc6e0903f342e9bf2506bf1
[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 <[email protected]>
Signed-off-by: Sridhar Samudrala <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sctp/socket.c
This page took 0.052838 seconds and 4 git commands to generate.