All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] DCCP Ackvec: fix soft lockup in ackvec handling code
@ 2006-06-09 18:26 Andrea Bittau
  2006-06-10  8:28 ` Ian McDonald
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrea Bittau @ 2006-06-09 18:26 UTC (permalink / raw)
  To: dccp

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>

---

diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c
index 2349078..a856d72 100644
--- a/net/dccp/ackvec.c
+++ b/net/dccp/ackvec.c
@@ -453,6 +453,7 @@ #endif
 					      (unsigned long long)
 					      avr->dccpavr_ack_ackno);
 				dccp_ackvec_throw_record(av, avr);
+				break;
 			}
 			/*
 			 * If it wasn't received, continue scanning... we might

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-11 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 18:26 [PATCH 1/1] DCCP Ackvec: fix soft lockup in ackvec handling code Andrea Bittau
2006-06-10  8:28 ` Ian McDonald
2006-06-10  8:31 ` [PATCH 1/1] DCCP Ackvec: fix soft lockup in ackvec handling David Miller
2006-06-11 23:18 ` [PATCH 1/1] DCCP Ackvec: fix soft lockup in ackvec handling code Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.