summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-10-08 19:36:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-25 11:16:43 +0200
commit34bc213fc4b4858df588020cc810072c1e2bf6ef (patch)
treedb1063955ad9799c551554edc9205f974edf6542 /include
parent79f52485a0aa4019525c411a8d4fa4df2ae95121 (diff)
netfilter: nft_payload: fix wrong mac header matching
commit d351c1ea2de3e36e608fc355d8ae7d0cc80e6cd6 upstream. mcast packets get looped back to the local machine. Such packets have a 0-length mac header, we should treat this like "mac header not set" and abort rule evaluation. As-is, we just copy data from the network header instead. Fixes: 96518518cc41 ("netfilter: add nftables") Reported-by: Blažej Krajňák <krajnak@levonet.sk> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions