]> git.baikalelectronics.ru Git - kernel.git/commit
[DCCP]: Check for unread data on close
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 17 Dec 2007 00:06:03 +0000 (16:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:01 +0000 (14:55 -0800)
commitfaa0f6731793c2d9915468f41688d481ff2fdc24
tree57311d4ffaa31ea73ca4a18a58fed985a14576cc
parentbd4dcff386e56d8c6a423d75bbd4f01401b89f96
[DCCP]: Check for unread data on close

This removes one FIXME with regard to close when there is still unread data.
The mechanism is implemented similar to TCP: with regard to DCCP-specifics,
a Reset with Code 2, "Aborted" is sent to the peer.

This corresponds in part to RFC 4340, 8.1.1 and 8.1.5.

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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/proto.c