[PATCH openEuler-5.10 3/4] sr9700: sanity check for packet length