From: Andrea Bittau Date: Mon, 12 Jun 2006 03:58:33 +0000 (-0700) Subject: [DCCP] Ackvec: fix soft lockup in ackvec handling code X-Git-Tag: v2.6.17~20^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afec35e3fee900b3016519d0b5512064e4625b2c;p=platform%2Fkernel%2Flinux-exynos.git [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 Signed-off-by: Ian McDonald Signed-off-by: David S. Miller --- diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c index b5981e5..8c211c5 100644 --- a/net/dccp/ackvec.c +++ b/net/dccp/ackvec.c @@ -452,6 +452,7 @@ found: (unsigned long long) avr->dccpavr_ack_ackno); dccp_ackvec_throw_record(av, avr); + break; } /* * If it wasn't received, continue scanning... we might