]> granicus.if.org Git - ipset/commit
Move ip_set_alloc, ip_set_free and ip_set_get_ipaddr* into core
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 20 Jan 2011 10:45:37 +0000 (11:45 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 20 Jan 2011 10:45:37 +0000 (11:45 +0100)
commit13dcc23a375f61d8286072b20067fb31bcc3ad46
tree134f29eee91e52f94c826eddf651f3697d77005b
parente0d7b66f0a3eb9528eebb59b83ce14e8f2025b1d
Move ip_set_alloc, ip_set_free and ip_set_get_ipaddr* into core

The functions are too large to be inlined, so move them into the core.
Also, fix the unnecessary initializations in ip_set_get_ipaddr*.
(Patrick McHardy's review)
kernel/include/linux/netfilter/ipset/ip_set.h
kernel/ip_set_core.c