]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[NET_SCHED] sch_htb: htb_requeue fix
authorJarek Poplawski <jarkao2@gmail.com>
Sun, 10 Feb 2008 07:44:00 +0000 (23:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2008 07:44:00 +0000 (23:44 -0800)
commit21347456abfbf5bc7fcace7327476736bbb28abe
tree79863d638a3fad6bf7efc9e6f280b6ab22a0c317
parent238fc7eac8e74681da7a6cb6748afb5422afc1be
[NET_SCHED] sch_htb: htb_requeue fix

htb_requeue() enqueues skbs for which htb_classify() returns NULL.
This is wrong because such skbs could be handled by NET_CLS_ACT code,
and the decision could be different than earlier in htb_enqueue().
So htb_requeue() is changed to work and look more like htb_enqueue().

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c