[][Update set_iif judgement for NF_HNAT]

[Description]
Add set_iif judgement for NF_HNAT driver.
Making it more precise can prevent Linux skb reuse problem.

[Release-log]
N/A

Change-Id: I189bcdefaadafdfa556853f7352ee9d4971d7f3b
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/4691350
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 15404cd..c3cf539 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
@@ -555,7 +555,7 @@
 static inline void hnat_set_iif(const struct nf_hook_state *state,
 				struct sk_buff *skb, int val)
 {
-	if (FROM_WED(skb)) {
+	if (IS_WHNAT(state->in) && FROM_WED(skb)) {
 		return;
 	} else if (IS_LAN(state->in)) {
 		skb_hnat_iface(skb) = FOE_MAGIC_GE_LAN;