]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: take into account cidr value for the from address when creating...
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 16 Jun 2011 16:54:43 +0000 (18:54 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 16 Jun 2011 16:54:43 +0000 (18:54 +0200)
commitf7cf30f494fd3ffb5415a94768ed1e07f1d5371e
tree069372466b4ffe572dff3495dcb69508ccf9a01f
parentd0b769a72e6954ef443fe47a7751725314fbc3b5
netfilter: ipset: take into account cidr value for the from address when creating the set

When creating a set from a range expressed as a network like
10.1.1.172/29, the from address was taken as the IP address part and
not masked with the netmask from the cidr.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipset/ip_set_bitmap_ip.c