[DCCP] ACKVEC: fix ackvector length calculation
commit23d06e3b986677ec57007a24891fa9deb09ac973
authorAndrea Bittau <a.bittau@cs.ucl.ac.uk>
Tue, 19 Sep 2006 20:04:54 +0000 (19 13:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:07 +0000 (22 15:19 -0700)
treef77c083196ebd447fdf5905a984d2235695c62e3
parenta1e59abf824969554b90facd44a4ab16e265afa4
[DCCP] ACKVEC: fix ackvector length calculation

Fix ackvector length calculation upon receiving an "ack-of-ack".  This
patch avoids the ackvector from growing too large which causes it to
not be inserted into packets.

Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ackvec.c