diff options
author | Florian Westphal <fw@strlen.de> | 2014-02-13 11:40:59 (GMT) |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-03-06 08:31:42 (GMT) |
commit | 004088768b78f69002f03a341597217eb608fb2c (patch) | |
tree | 325a21adf2a91a8804a75fccc5b5f6b9eaaeac10 /net/netfilter/ipset/ip_set_core.c | |
parent | af284ece87365f3a69723f5bcc1bcdb505b5eb5d (diff) | |
download | linux-004088768b78f69002f03a341597217eb608fb2c.tar.xz |
netfilter: ipset: kernel: uapi: fix MARKMASK attr ABI breakage
commit 2dfb973c0dcc6d2211 (add markmask for hash:ip,mark data type)
inserted IPSET_ATTR_MARKMASK in-between other enum values, i.e.
changing values of all further attributes. This causes 'ipset list'
segfault on existing kernels since ipset no longer finds
IPSET_ATTR_MEMSIZE (it has a different value on kernel side).
Jozsef points out it should be moved below IPSET_ATTR_MARK which
works since there is some extra reserved space after that value.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'net/netfilter/ipset/ip_set_core.c')
0 files changed, 0 insertions, 0 deletions