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

Simple merge
Simple merge
Simple merge