Subject: Re: [PATCH bpf-next v4 3/3] bpf: btf: print map dump and lookup with btf info

From: Jakub Kicinski <[email-masked]>
Date: Wed, 11 Jul 2018 13:04:56 -0700

On Tue, 10 Jul 2018 20:21:11 -0700, Okash Khawaja wrote:
> +	if (err || btf_info.btf_size > last_size) {
> +		err = errno;

errno may not be set in case btf_info.btf_size > last_size

errno is positive, while other error return codes are negative.

> +		goto exit_free;
> +	}