[PATCH openEuler-5.10-LTS 40/81] net: atlantic: Avoid out-of-bounds indexing