diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-10-08 12:22:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 19:33:35 +0200 |
commit | 4895c42f62f20d4eb7c4c8bd40a7b294506154ec (patch) | |
tree | 9c0cc5b0ed51d01cfce596bc55f2ddeb0b70ba4f /COPYING | |
parent | net: sched: cls_u32: get rid of tc_u_common ->rcu (diff) | |
download | linux-4895c42f62f20d4eb7c4c8bd40a7b294506154ec.tar.xz linux-4895c42f62f20d4eb7c4c8bd40a7b294506154ec.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions