]> granicus.if.org Git - ipset/commit
Fix cidr book keeping for hash:*net* types
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 10 Sep 2012 19:19:09 +0000 (21:19 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 10 Sep 2012 19:19:09 +0000 (21:19 +0200)
commit042c9bfdea212750a86601007a589f4df9fa3a5e
tree021d7fb342ccaf28365c8ebb14441003e71863cf
parenta1cbbc8f86a8ef955708d48f20f8ca021a0a7641
Fix cidr book keeping for hash:*net* types

The book-keeping of the different sized networks were bogus, fix it.
The broken code could lead invalid matching in such sets when the number
of different sized networks were greater than the smallest CIDR value of
the networks.
kernel/include/linux/netfilter/ipset/ip_set_ahash.h