diff options
author | Florian Westphal <fw@strlen.de> | 2016-01-12 17:07:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-13 14:03:43 +0100 |
commit | f90d2d37fb933773c9945c5939ae87aea2343057 (patch) | |
tree | 8ddccef3302ac5a16c42ecb4b12a2401d5c34510 /samples/kobject | |
parent | 4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d (diff) | |
download | linux-f90d2d37fb933773c9945c5939ae87aea2343057.tar.bz2 |
netfilter: ipset: allow a 0 netmask with hash_netiface type
Jozsef says:
The correct behaviour is that if we have
ipset create test1 hash:net,iface
ipset add test1 0.0.0.0/0,eth0
iptables -A INPUT -m set --match-set test1 src,src
then the rule should match for any traffic coming in through eth0.
This removes the -EINVAL runtime test to make matching work
in case packet arrived via the specified interface.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1297092
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions