From: Ilpo Järvinen Date: Sat, 14 Mar 2009 14:23:07 +0000 (+0000) Subject: tcp: make sure xmit goal size never becomes zero X-Git-Tag: v2.6.30-rc1~662^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afece1c6587010cc81d1a43045c855774e8234a3;p=pandora-kernel.git tcp: make sure xmit goal size never becomes zero It's not too likely to happen, would basically require crafted packets (must hit the max guard in tcp_bound_to_half_wnd()). It seems that nothing that bad would happen as there's tcp_mems and congestion window that prevent runaway at some point from hurting all too much (I'm not that sure what all those zero sized segments we would generate do though in write queue). Preventing it regardless is certainly the best way to go. Signed-off-by: Ilpo Järvinen Cc: Evgeniy Polyakov Cc: Ingo Molnar Signed-off-by: David S. Miller --- Reading git-diff-tree failed