Skip to content
Snippets Groups Projects
Commit 8f546371 authored by Florian Westphal's avatar Florian Westphal Committed by Frieder Schrempf
Browse files

netfilter: nft_payload: fix wrong mac header matching


commit d351c1ea 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: 96518518 ("netfilter: add nftables")
Reported-by: default avatarBlažej Krajňák <krajnak@levonet.sk>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8f5e60f2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment