diff options
author | 2018-10-08 06:22:44 -0400 | |
---|---|---|
committer | 2018-10-08 10:33:35 -0700 | |
commit | a030598690c604c17b5288160d9d7b40274b2f79 (patch) | |
tree | ed3755ff391624d1371be5e97db558c394bbe0f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: sched: cls_u32: keep track of knodes count in tc_u_common (diff) | |
download | wireguard-linux-a030598690c604c17b5288160d9d7b40274b2f79.tar.xz wireguard-linux-a030598690c604c17b5288160d9d7b40274b2f79.zip |
net: sched: cls_u32: simplify the hell out u32_delete() emptiness check
Now that we have the knode count, we can instantly check if
any hnodes are non-empty. And that kills the check for extra
references to root hnode - those could happen only if there was
a knode to carry such a link.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions