From a0bee74bc65e88a723db5f5a9b5eb535dc20a9af Mon Sep 17 00:00:00 2001 From: padavanonly <83120842+padavanonly@users.noreply.github.com> Date: Sun, 13 Oct 2024 20:32:28 +0800 Subject: [PATCH] Update hnat_nf_hook.c --- .../drivers/net/ethernet/mediatek/mtk_hnat/hnat_nf_hook.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_nf_hook.c b/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_nf_hook.c index 335b55548b..10d7af8aad 100644 --- a/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_nf_hook.c +++ b/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_hnat/hnat_nf_hook.c @@ -2303,10 +2303,10 @@ static unsigned int mtk_hnat_nf_post_routing( return 0; - #if defined(CONFIG_MEDIATEK_NETSYS_RX_V2) - if (!IS_WHNAT(out) && IS_EXT(out) && FROM_WED(skb)) + + if (!IS_WHNAT(out) && IS_EXT(out)) return 0; - #endif + trace_printk("[%s] case hit, %x-->%s, reason=%x\n", __func__,