commit | 45d8390c56bd2851097736c1c20ad958880168df | [log] [tgz] |
---|---|---|
author | tom.leiming@gmail.com <tom.leiming@gmail.com> | Tue Dec 29 22:40:26 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 29 15:13:44 2015 -0500 |
tree | 230b546c8010d793e879618ffc656e12a07fd40a | |
parent | 6591f1e6662dd595effb52a54e42a6d2d2b03e51 [diff] |
bpf: hash: move select_bucket() out of htab's spinlock The spinlock is just used for protecting the per-bucket hlist, so it isn't needed for selecting bucket. Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>