Re: [PATCH 8/9] [CCID2]: Remove redundant ack-counting variable

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

 



On 11/4/07, Gerrit Renker <gerrit@xxxxxxxxxxxxxx> wrote:
> The code used two different variables to count Acks, one of them redundant.
> This patch reduces the number of Ack counters to one.
>
> The type of the Ack counter has also been changed to u32 (twice the range of int);
> and the variable has been renamed into `packets_acked' - for consistency with
> RFC 3465 (and similarly named variables are used by TCP and SCTP).
>
> Lastly, a slightly less aggressive `maxincr' increment is used (for even Ack Ratios,
> maxincr was Ack Ratio/2 + 1 instead of Ack Ratio/2).
>
> Signed-off-by: Gerrit Renker <gerrit@xxxxxxxxxxxxxx>

Acked-by: Ian McDonald <ian.mcdonald@xxxxxxxxxxx>
-
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