diff options
| author | Florian Westphal <[email protected]> | 2016-01-12 17:07:05 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2016-01-13 14:03:43 +0100 |
| commit | f90d2d37fb933773c9945c5939ae87aea2343057 (patch) | |
| tree | 8ddccef3302ac5a16c42ecb4b12a2401d5c34510 /tools/perf/scripts/python | |
| parent | 4b8c4eddfc941a38e5bc716a37e8c4292cefaa6d (diff) | |
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 <[email protected]>
Acked-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions