]> err.no Git - linux-2.6/commit
[PKT_SCHED]: HTB: Drop packet when direct queue is full
authorAsim Shankar <asimshankar@gmail.com>
Tue, 3 May 2005 21:39:33 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2005 21:39:33 +0000 (14:39 -0700)
commit033d899904792d3501b7dd469495ca9138424ec3
tree62ed3ad46c42f30915990ee3dd234fa931f2e368
parent96edf83c4e284c08584f97623f7c7f029759459e
[PKT_SCHED]: HTB: Drop packet when direct queue is full

htb_enqueue(): Free skb and return NET_XMIT_DROP if a packet is
destined for the direct_queue but the direct_queue is full. (Before
this: erroneously returned NET_XMIT_SUCCESS even though the packet was
not enqueued)

Signed-off-by: Asim Shankar <asimshankar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c