[PATCH 6.6 278/301] net: fix out-of-bounds access in ops_init