[][Fix entry state in skb_to_hnat_info]

Fix entry state in skb_to_hnat_info.

HNAT status should be obtained from foe before memcpy, otherwise the status will be mistakenly written as invalid,
which will cause the foe original info to be overwritten in large traffic and multiple flows forwarding (LAN->WIFI).


Change-Id: I2c71b29cdb092882e712c92c892ebc976ff5ee91
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5796655
1 file changed