[PATCH OLK-5.10] net: fix out-of-bounds access in ops_init