commit | 4895c42f62f20d4eb7c4c8bd40a7b294506154ec | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Oct 08 06:22:39 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 08 10:33:35 2018 -0700 |
tree | 9c0cc5b0ed51d01cfce596bc55f2ddeb0b70ba4f | |
parent | 07743ca5c9695f0d5e8079f82d2f2f3b92cc138d [diff] |
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>