Skip to content

: CCID2 fixes + misc

Gerrit Renker dccp 1 version New

Get series with b4
b4 am 200707081240.14276@strip-the-willow

Versions newest first

  1. v1 Latest7 of 8 patches 0 repliesNew

7 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/8: Remove ugly BUG_ONnet/dccp/ccids/ccid2.c+5 -60 replies
3/8: Remove redundant BUG_ONnet/dccp/ccids/ccid2.c net/dccp/ccids/ccid2.h+4 -90 replies
4/8: Remove redundant case blocknet/dccp/ccids/ccid2.c+1 -130 replies
5/8: Sequence number wraparound issuesnet/dccp/ccids/ccid2.c+4 -30 replies
6/8: Use DIV_ROUND_UP macronet/dccp/ackvec.c+2 -30 replies
7/8: Remove unused inline functionnet/dccp/dccp.h+0 -60 replies
8/8: Initialisation assignments of 0 are redundantnet/dccp/ccids/ccid2.c net/dccp/ccids/ccid3.c+2 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8]: CCID2 fixes + misc

A few things that I found while looking at the CCID2 code.

Patch #1: Is a revised version of `allocation in atomic context' fix
first submitted on http://www.mail-archive.com/[email protected]/msg01941.html
I found that there is an implicit assumption on the length of the pre-allocated list, which means that the allocation is always the same, which leads to further simplification.

Patch #2: Removes an ugly BUG_ON, spotted by Arnaldo, which directly hangs on patch #1.

Patch #3: Removes another BUG_ON, which was found to be redundant.

Patch #4: An entire switch/case block can go - dead code.

Patch #5: Sequence number wraparound issues - updated to use the newer seqno functions.

Patch #6: Spotted an instance of the DIV_ROUND_UP() macro and used it.

Patch #7: follows48() is nowhere used in the DCCP code and thus removed.

Patch #8: Removes redundant initialisation of "memset + assignment of zero". This was also
spotted by Arnaldo - thanks again.