Re: [PATCH 5/10]: Perform SHUT_RD and SHUT_WR on receiving close

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/13/07, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> 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 <gerrit@xxxxxxxxxxxxxx>
Signed-off-by: Ian McDonald <ian.mcdonald@xxxxxxxxxxx>
-- 
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux