summaryrefslogtreecommitdiffstats
path: root/lib/ipset_hash_netiface.c
diff options
context:
space:
mode:
authorSergey Popovich <popovich_sergei@mail.ua>2014-11-17 17:42:44 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2015-03-20 19:06:56 +0100
commit470bfec75068eae49c5c073266479c3e5da1eaf5 (patch)
tree5c6ff6948f3d53ef66f9c3f006f5efcc7f5746db /lib/ipset_hash_netiface.c
parent3516ed61a2198b8bed5b64992a3e19d2c135a6e7 (diff)
netfilter: ipset: Permit CIDR equal to the host address CIDR in IPv6
Permit userspace to supply CIDR length equal to the host address CIDR length in netlink message. Prohibit any other CIDR length for IPv6 variant of the set. Also return -IPSET_ERR_HASH_RANGE_UNSUPPORTED instead of generic -IPSET_ERR_PROTOCOL in IPv6 variant of hash:ip,port,net when IPSET_ATTR_IP_TO attribute is given. Signed-off-by: Sergey Popovich <popovich_sergei@mail.ua> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'lib/ipset_hash_netiface.c')
0 files changed, 0 insertions, 0 deletions