[PATCH 6.1 530/772] net: hsr: avoid potential out-of-bound access in fill_frame_info()