net/ena: check pointer before memset