Skip to content

: Updates and fixes to ensure code works with recent changes

Gerrit Renker dccp netdev 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 8 patches 7 repliesApplied

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

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8: Whitespace cleanupsnet/dccp/ccids/ccid3.c net/dccp/ccids/lib/loss_interval.c net/dccp/ccids/lib/packet_history.c+15 -151 reply
2/8: Put RX/TX initialisation into tfrc.cnet/dccp/ccids/lib/packet_history.c net/dccp/ccids/lib/tfrc.c+55 -442 replies
3/8: Remove now unused functions / function callsnet/dccp/ccids/ccid3.c net/dccp/ccids/lib/packet_history.c+1 -71 reply
4/8: Need separate entry_from_skb routinenet/dccp/ccids/lib/packet_history.c+20 -150 replies
5/8: Loss interval code needs the macros/inlines that were movednet/dccp/ccids/lib/packet_history.c net/dccp/ccids/lib/packet_history.h+33 -364 replies
7/8: CCID3 (and CCID4) needs to access these inlinesnet/dccp/ccids/lib/packet_history.c net/dccp/ccids/lib/packet_history.h+26 -287 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] [DCCP]: Updates and fixes to ensure code works with recent changes

Some of the recent changes in 2.6.25 cause problems with the existing implementation (i.e. break the code). This patch set therefore provides fixes and resubmits one subsequent patch which has not been considered so far, but which is part of the tfrc_lib package.

Patch #1: Performs whitespace cleanups.
Patch #2: Migrates all loss interval / packet history initialisation code into tfrc.c. Patch #3: Removes two unused functions/function calls that have become obsolete now. Patch #4: Splits rx_hist_add_packet() into its original constituents -- they are needed. Patch #5: Restores the parts of the macro/inline conversion that broke the algorithm. Patch #6: Is a v2 patch - the Loss Intervals code, now updated to work with the recent changes. Patch #7: Reverts hiding inlines which are needed by the calling CCID module. Patch #8: Also a patch v2 - shows how all the new stuff is integrated to work with CCID3.

The code compiles cleanly, all patches have been uploaded to the test tree (backported from 2.6.25),
git://eden-feed.erg.abdn.ac.uk/dccp_exp [dccp]

So far only a few quick bandwidth tests have been performed. These merely confirm that the stack does not crash. Since most of this patch set deals with loss detection and re-ordering, some more detailed tests are needed to ensure that the code, as before, deals well with loss, reordering, and duplication (this requires at least one NetEm box).

Updates to the CCID4 subtree need to be suspended for a few days. There are too many fiddly changes all over the place; until we understand exactly what is going on and if there has been a regression, it is not a good idea to track everything.