Fix m7 sock.c kernel error