From: Gerrit Renker Date: Wed, 26 Sep 2007 22:36:08 +0000 (-0300) Subject: [DCCP]: Reduce the number of writable states X-Git-Tag: v2.6.24-rc1~1454^2~347 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cecd8d0ec4cb4fec728f67163bb0a78f80c292eb;p=pandora-kernel.git [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 Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed