[PATCH 5.15 163/168] net: fix out-of-bounds access in ops_init