netfilter: ipset: use nla_parse_nested()
authorPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 15:27:25 +0000 (16:27 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 15:27:25 +0000 (16:27 +0100)
commit8da560ced56c423cd6d35803cd0244c944c676bd
tree98b253c24eae0b385ebcf8036f30f6541681dd1d
parentd956798d82d2d331c031301965d69e17a1a48a2b
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>
net/netfilter/ipset/ip_set_core.c