On 7/13/07, Gerrit Renker <[EMAIL PROTECTED]> wrote:
> [DCCP]: Perform SHUT_RD and SHUT_WR on receiving close
>
> The first change is to close the write-end in addition to the read-end when
> a fin-like segment (Close or CloseReq) is received by DCCP. This accounts
> for the fact that DCCP, in contrast to TCP, does not have a half-close. I
> checked the specification - when a fin-like segment has been sent there is
> no guarantee at all that any further data will be processed.
>
> Thus this patch performs SHUT_WR in addition to the SHUT_RD when a fin-like
> segment is encountered.
>
> The second change is minor; I noted that code appears twice in different
> places and think it makes sense to put this into a self-contained function.
>
> Signed-off-by: Gerrit Renker <[EMAIL PROTECTED]>
Signed-off-by: Ian McDonald <[EMAIL PROTECTED]>
-- 
Web1: http://wand.net.nz/~iam4/
Web2: http://www.jandi.co.nz
Blog: http://iansblog.jandi.co.nz
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to