diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-17 23:55:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-18 00:39:41 -0700 |
commit | 69747650c814a8a79fef412c7416adf823293a3e (patch) | |
tree | c1c83e9ae903b0e93029f0071fdca544d2add340 /net/sched/sch_api.c | |
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>
Diffstat (limited to 'net/sched/sch_api.c')
0 files changed, 0 insertions, 0 deletions