commit | 69747650c814a8a79fef412c7416adf823293a3e | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun Aug 17 23:55:36 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 18 00:39:41 2008 -0700 |
tree | c1c83e9ae903b0e93029f0071fdca544d2add340 | |
parent | 96d203169d1d851ac1468f7d4459a09581be364c [diff] |
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 <davem@davemloft.net>