dccp ccid-2: Separate internals of Ack Vectors from option-parsing code
commit7d870936602533836bba821bd5c679c62c52a95f
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Wed, 10 Nov 2010 20:21:02 +0000 (10 21:21 +0100)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Wed, 10 Nov 2010 20:21:02 +0000 (10 21:21 +0100)
tree35ffc317699b1700b27dfd8c5da4512d87848e65
parentf17a37c9b8c4b32c01e501a84fa6f30e344c6110
dccp ccid-2: Separate internals of Ack Vectors from option-parsing code

This patch
 * separates Ack Vector housekeeping code from option-insertion code;
 * shifts option-specific code from ackvec.c into options.c;
 * introduces a dedicated routine to take care of the Ack Vector records;
 * simplifies the dccp_ackvec_insert_avr() routine: the BUG_ON was redundant,
   since the list is automatically arranged in descending order of ack_seqno.

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