[][kernel][mt7988][crypto][Fix xfrm_state add to hashtable]

[Description]
Fix xfrm_state add to hashtable.
For supporting packet offload mode, in linux v6.2, XFRM_STATE_INSERT
macro replaced hlist_add_head_rcu() when adding xfrm state into
hashtable. When backporting, the usage of hlist_add_head_rcu() in
xfrm_hash_transfer was missed. This causes the 'next' pointer to point
back to itself, resulting in an infinite loop when executing
hlist_for_each_entry_rcu and leading to an RCU stall.

[Release-log]
N/A


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