diff options
author | Serhey Popovych <[email protected]> | 2018-06-05 11:46:13 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <[email protected]> | 2018-06-06 14:00:41 +0200 |
commit | 9dcceb1378b6d66633f613805b2d5a22af4d5383 (patch) | |
tree | 2edd91f2929ac129ac3a47b83ce639a34b5e6edf /include/linux/fpga/fpga-mgr.h | |
parent | 6fcc02e3c2bddeaf628fde3c6a5ab3216d45691a (diff) |
netfilter: xt_set: Check hook mask correctly
Inserting rule before one with SET target we get error with warning in
dmesg(1) output:
# iptables -A FORWARD -t mangle -j SET --map-set test src --map-prio
# iptables -I FORWARD 1 -t mangle -j ACCEPT
iptables: Invalid argument. Run `dmesg' for more information.
# dmesg |tail -n1
[268578.026643] mapping of prio or/and queue is allowed only from \
OUTPUT/FORWARD/POSTROUTING chains
Rather than checking for supported hook bits for SET target check for
unsupported one as done in all rest of matches and targets.
Signed-off-by: Serhey Popovych <[email protected]>
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions