[][kernel][common][hnat][Fix HNAT BIND issue with entry index 0x3fff]

[Description]
Fix HNAT BIND issue with entry index 0x3fff

Without this patch, the driver assumed that 0x3fff was the last PPE
entry index and wouldn't set it BIND, However, the actual last entry
index can vary in the current platform. This patch ensures protection
of the last entry index based on the specific platform version.

[Release-log]
N/A


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