mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 06:45:03 +04:00
Use skb->encapsulation flag instead of skb_tnl_header_len() to detect encapsulated packets. Prevents false positives on non-encapsulated packets. Reported-by: Mason-cw Chang (張哲維) <Mason-cw.Chang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>