]> bbs.cooldavid.org Git - net-next-2.6.git/commit
dccp ccid-2: Consolidate Ack-Vector processing within main DCCP module
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sun, 14 Nov 2010 16:25:36 +0000 (17:25 +0100)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 15 Nov 2010 06:11:59 +0000 (07:11 +0100)
commit18219463c884bfdb7954d298b9edb5194b14d621
treed153af455b44eaf2fbf474515a2a7bb33b1b4b07
parent3802408644515e29fb723d51a5317301b212cf3a
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