netfilter: ipset: Removed invalid IPSET_ATTR_MARKMASK validation
authorVytas Dauksa <vytas.dauksa@smoothwall.net>
Fri, 4 Apr 2014 15:10:14 +0000 (16:10 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 24 Aug 2014 17:31:34 +0000 (19:31 +0200)
commitecc245c2bd5dcee91e6818fd3e7fb6454ad2ca06
tree0f373fc99f0b3789beb100ec8dbfc7fee2d50f18
parentafc5be3079796b024823bad42dc5ebf716453575
netfilter: ipset: Removed invalid IPSET_ATTR_MARKMASK validation

Markmask is an u32, hence it can't be greater then 4294967295 ( i.e.
0xffffffff ). This was causing smatch warning:
 net/netfilter/ipset/ip_set_hash_gen.h:1084 hash_ipmark_create() warn:
 impossible condition '(markmask > 4294967295) => (0-u32max > u32max)'

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_hash_gen.h