Update hnat_nf_hook.c

This commit is contained in:
padavanonly 2024-10-13 20:32:28 +08:00 committed by GitHub
parent 9e76c9ca1c
commit a0bee74bc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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__,