[][MAC80211][core][Fix mtk_eth_setup_tc_block panic issue]

[Description]
Fix mtk_eth_setup_tc_block panic issue.

This patch backport from linux-6.3.

If without this patch, the kernel might panic in
the mtk_eth_setup_tc_block() when create/add/remove tc rule.

[Release-log]
N/A


Change-Id: Ie9e6646367755e49f1efa0a1109ce883008a0917
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7596027
3 files changed