]> git.karo-electronics.de Git - mv-sheeva.git/commit
netfilter: ipset: fix address ranges at hash:*port* types
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 20 Mar 2011 14:33:26 +0000 (15:33 +0100)
committerPatrick McHardy <kaber@trash.net>
Sun, 20 Mar 2011 14:33:26 +0000 (15:33 +0100)
commit5e0c1eb7e6b61998c7ecd39b7f69a15773d894d4
tree4fba9a1410925d0a6d7a8a39aa8cc447e6f9251c
parentb26fa4e0275426450238a14158bc1db24bb696e6
netfilter: ipset: fix address ranges at hash:*port* types

The hash:*port* types with IPv4 silently ignored when address ranges
with non TCP/UDP were added/deleted from the set and used the first
address from the range only.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/ipset/ip_set_getport.h
net/netfilter/ipset/ip_set_hash_ipport.c
net/netfilter/ipset/ip_set_hash_ipportip.c
net/netfilter/ipset/ip_set_hash_ipportnet.c
net/netfilter/ipset/ip_set_hash_netport.c