From: David S. Miller Date: Mon, 18 Aug 2008 06:55:36 +0000 (-0700) Subject: pkt_sched: Fix return value corruption in HTB and TBF. X-Git-Tag: v2.6.27-rc4~39^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69747650c814a8a79fef412c7416adf823293a3e;p=pandora-kernel.git pkt_sched: Fix return value corruption in HTB and TBF. Based upon a bug report by Josip Rodin. Packet schedulers should only return NET_XMIT_DROP iff the packet really was dropped. If the packet does reach the device after we return NET_XMIT_DROP then TCP can crash because it depends upon the enqueue path return values being accurate. Signed-off-by: David S. Miller --- Reading git-diff-tree failed