netfilter: xt_connlimit: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:13 +0000 (22:02 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 5 Jan 2017 12:27:02 +0000 (13:27 +0100)
commit4cc4b72c136a45aeccd86f66b0859b148b47d881
treef2169a370c489193120c244d5ae7602ead703979
parentcf6e007eef83476c5d541453d84e08b07befe124
netfilter: xt_connlimit: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_connlimit.c