dccp ccid-2: Consolidate Ack-Vector processing within main DCCP module
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Sep 2008 05:30:19 +0000 (07:30 +0200)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 4 Sep 2008 05:45:37 +0000 (07:45 +0200)
commit283fb4a5f39d1521d53e1044bff0ba2654acf145
treee813566d7b3530702410d470f85cf2162e443bb3
parente28fe59f9c82ef55fc9b55e745531c9fed86f00a
dccp ccid-2: Consolidate Ack-Vector processing within main DCCP module

This aggregates Ack Vector processing (handling input and clearing old state)
into one function, for the following reasons and benefits:
 * all Ack Vector-specific processing is now in one place;
 * duplicated code is removed;
 * ensuring sanity: from an Ack Vector point of view, it is better to clear the
                    old state first before entering new state;
 * Ack Event handling happens mostly within the CCIDs, not the main DCCP module.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
net/dccp/input.c