summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorStefano Brivio2018-08-17 21:09:48 +0200
committerJozsef Kadlecsik2018-10-22 23:17:04 +0200
commit29edbc3ebdb0faa934114f14bf12fc0b784d4f1b (patch)
tree36c929b943de55d2c7e60af070d559a2ba663b4d /include/uapi
parentnetfilter: ipset: Allow matching on destination MAC address for mac and ipmac... (diff)
downloadkernel-qcow2-linux-29edbc3ebdb0faa934114f14bf12fc0b784d4f1b.tar.gz
kernel-qcow2-linux-29edbc3ebdb0faa934114f14bf12fc0b784d4f1b.tar.xz
kernel-qcow2-linux-29edbc3ebdb0faa934114f14bf12fc0b784d4f1b.zip
netfilter: ipset: Make invalid MAC address checks consistent
Set types bitmap:ipmac and hash:ipmac check that MAC addresses are not all zeroes. Introduce one missing check, and make the remaining ones consistent, using is_zero_ether_addr() instead of comparing against an array containing zeroes. This was already done for hash:mac sets in commit 26c97c5d8dac ("netfilter: ipset: Use is_zero_ether_addr instead of static and memcmp"). Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions