[DCCP] Ackvec: fix soft lockup in ackvec handling code
authorAndrea Bittau <a.bittau@cs.ucl.ac.uk>
Mon, 12 Jun 2006 03:58:33 +0000 (20:58 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 12 Jun 2006 04:08:03 +0000 (21:08 -0700)
commitafec35e3fee900b3016519d0b5512064e4625b2c
tree78e1fac9fe42700dd3d4a69aa219fdd0e0378f4d
parent289a1e995e74734b5ec76ca8a5490058f4fecc24
[DCCP] Ackvec: fix soft lockup in ackvec handling code

A soft lockup existed in the handling of ack vector records.
Specifically, when a tail of the list of ack vector records was
removed, it was possible to end up iterating infinitely on an element
of the tail.

Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ackvec.c