]> granicus.if.org Git - ipset/commit
ipset: Actually allow destination MAC address for hash:ip,mac sets too
authorStefano Brivio <sbrivio@redhat.com>
Mon, 24 Jun 2019 13:20:11 +0000 (15:20 +0200)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Fri, 28 Jun 2019 19:08:37 +0000 (21:08 +0200)
commit89acc479dc6e421ec321e99435e8ce7f684f7d0c
tree96cf5e30c9999d1501622144def4d1e3ab8f9f1a
parente985687175fd8f2d2cdbb1526d178c5449b42894
ipset: Actually allow destination MAC address for hash:ip,mac sets too

In commit 8cc4ccf58379 ("ipset: Allow matching on destination MAC address
for mac and ipmac sets"), ipset.git commit 1543514c46a7, I removed the
KADT check that prevents matching on destination MAC addresses for
hash:mac sets, but forgot to remove the same check for hash:ip,mac set.

Drop this check: functionality is now commented in man pages and there's
no reason to restrict to source MAC address matching anymore.

Reported-by: Chen Yi <yiche@redhat.com>
Fixes: 8cc4ccf58379 ("ipset: Allow matching on destination MAC address for mac and ipmac sets")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
kernel/net/netfilter/ipset/ip_set_hash_ipmac.c