diff options
author | Patrick McHardy | 2010-05-14 08:08:14 +0000 |
---|---|---|
committer | David S. Miller | 2010-05-17 17:44:46 -0700 |
commit | a2f79227138c71e08627af5f8961197364edbc98 (patch) | |
tree | 6d55f0769045bf537acd14db89b98fbe737ec595 /drivers | |
parent | e1bc7eedbafe0415cdfd82e17e6f65bb3369239d (diff) |
net_sched: sch_hfsc: fix classification loops
When attaching filters to a class pointing to a class higher up in the
hierarchy, classification may enter an endless loop. Currently this is
prevented for filters that are already resolved, but not for filters
resolved at runtime.
Only allow filters to point downwards in the hierarchy, similar to what
CBQ does.
Reported-by: Pawel Staszewski <pstaszewski@itcare.pl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions