[PATCH] selftest: net: Check return value from read