From: Vitaliy Gusev Date: Tue, 15 Apr 2008 07:33:38 +0000 (-0700) Subject: [TCP]: Fix never pruned tcp out-of-order queue. X-Git-Tag: v2.6.25~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b000cd3707e7b25d76745f9c0e261c23d21fa578;p=pandora-kernel.git [TCP]: Fix never pruned tcp out-of-order queue. tcp_prune_queue() doesn't prune an out-of-order queue at all. Therefore sk_rmem_schedule() can fail but the out-of-order queue isn't pruned . This can lead to tcp deadlock state if the next two conditions are held: 1. There are a sequence hole between last received in order segment and segments enqueued to the out-of-order queue. 2. Size of all segments in the out-of-order queue is more than tcp_mem[2]. Signed-off-by: Vitaliy Gusev Signed-off-by: David S. Miller --- Reading git-diff-tree failed