Repository navigation
Commit aee18a8
net-sched: sch_htb: remove write-only qdisc filter_cnt
The filter_cnt is supposed to count filter references to a class.
Since the qdisc can't be the target of a filter, it doesn't need
a filter_cnt. In fact the counter is never decreased since cls_api
considers a return value of zero a failure and doesn't unbind again.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 4207759 commit aee18a8
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
| |||
1484 | 1483 | | |
1485 | 1484 | | |
1486 | 1485 | | |
1487 | | - | |
1488 | 1486 | | |
1489 | 1487 | | |
1490 | 1488 | | |
| |||
1498 | 1496 | | |
1499 | 1497 | | |
1500 | 1498 | | |
1501 | | - | |
1502 | | - | |
1503 | 1499 | | |
1504 | 1500 | | |
1505 | 1501 | | |
1506 | 1502 | | |
1507 | 1503 | | |
1508 | | - | |
1509 | 1504 | | |
1510 | 1505 | | |
1511 | 1506 | | |
1512 | 1507 | | |
1513 | | - | |
1514 | | - | |
1515 | 1508 | | |
1516 | 1509 | | |
1517 | 1510 | | |
| |||
0 commit comments