diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-09-27 00:36:08 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:52:45 +0200 |
commit | cecd8d0ec4cb4fec728f67163bb0a78f80c292eb (patch) | |
tree | 0203cb30479143463cb2228ef872be2f1e10ddec /net/dccp/ccids/ccid3.h | |
parent | [DCCP]: Factor out common code for generating Resets (diff) | |
download | linux-cecd8d0ec4cb4fec728f67163bb0a78f80c292eb.tar.xz linux-cecd8d0ec4cb4fec728f67163bb0a78f80c292eb.zip |
[DCCP]: Reduce the number of writable states
Since DCCP requires to close both ends of a connection simultaneously,
permission to write in state DCCP_CLOSING is removed in dccp_sendmsg():
* if the sending end closed, it would encounter a write error anyhow;
* if the other end has closed the connection, it accepts no more data.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'net/dccp/ccids/ccid3.h')
0 files changed, 0 insertions, 0 deletions