]> git.ipfire.org Git - thirdparty/ipset.git/commit
netfilter: ipset: use nla_parse_nested()
authorPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 19:51:56 +0000 (20:51 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 1 Feb 2011 19:51:56 +0000 (20:51 +0100)
commit9cfc5ea36de727bf51c821e120434ce967f8a1d4
treeb2fc45a8df582c595599170573e076a27e661e3d
parentd68997e09448eeca990dbc2c55b02b698a392c8d
netfilter: ipset: use nla_parse_nested()

Replace calls of the form:

nla_parse(tb, ATTR_MAX, nla_data(attr), nla_len(attr), policy)

by:

nla_parse_nested(tb, ATTR_MAX, attr, policy)

Signed-off-by: Patrick McHardy <kaber@trash.net>
kernel/ip_set_core.c