[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190302153541.evdmum7prb5uzliz@kafai-mbp.dhcp.thefacebook.com>
Date: Sat, 2 Mar 2019 15:35:44 +0000
From: Martin Lau <kafai@...com>
To: Lorenz Bauer <lmb@...udflare.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <Kernel-team@...com>
Subject: Re: [PATCH bpf-next 1/2] bpf: Fix bpf_tcp_sock and bpf_sk_fullsock
issue related to bpf_sk_release
On Fri, Mar 01, 2019 at 09:07:48AM -0800, Martin Lau wrote:
> > How about resetting reg->refcount_id in mark_ptr_or_null_reg as well?
> I don't think so. release_reg_references() would not work then.
After a second thought, 'reg->refcount_id = 0' should be done
for the is_null case. I will respin.
Powered by blists - more mailing lists