]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: ipset: Optimize hash creation routine
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 11 Oct 2016 05:25:00 +0000 (07:25 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 12:28:47 +0000 (13:28 +0100)
commit961509ac183ec1069616541938728fcb822f5dff
tree02716617275a5a29b806cf366971578e0542ef6f
parent5a902e6d4b61de33f4a9d3fc5fbc9d339fee7ed3
netfilter: ipset: Optimize hash creation routine

Exit as easly as possible on error and use RCU_INIT_POINTER()
as set is not seen at creation time.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_hash_gen.h