diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-10-08 13:22:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 20:33:35 +0300 |
commit | 4895c42f62f20d4eb7c4c8bd40a7b294506154ec (patch) | |
tree | 9c0cc5b0ed51d01cfce596bc55f2ddeb0b70ba4f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 07743ca5c9695f0d5e8079f82d2f2f3b92cc138d (diff) | |
download | linux-4895c42f62f20d4eb7c4c8bd40a7b294506154ec.tar.xz |
net: sched: cls_u32: clean tc_u_common hashtable
* calculate key *once*, not for each hash chain element
* let tc_u_hash() return the pointer to chain head rather than index -
callers are cleaner that way.
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions