netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT
[sfrench/cifs-2.6.git] / net / netfilter / ipset / ip_set_hash_netnet.c
index a3ae69bfee668466f276f5cdebb451048a7eb5e9..4398322fad59207d03681492306d3d2b63f1c271 100644 (file)
@@ -476,6 +476,7 @@ static struct ip_set_type hash_netnet_type __read_mostly = {
                [IPSET_ATTR_CIDR]       = { .type = NLA_U8 },
                [IPSET_ATTR_CIDR2]      = { .type = NLA_U8 },
                [IPSET_ATTR_TIMEOUT]    = { .type = NLA_U32 },
+               [IPSET_ATTR_LINENO]     = { .type = NLA_U32 },
                [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
                [IPSET_ATTR_BYTES]      = { .type = NLA_U64 },
                [IPSET_ATTR_PACKETS]    = { .type = NLA_U64 },