[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQ+s+2isJ0bEJCqBm_Cy-frfopWGs7YEZBy8uG5hREO5Hw@mail.gmail.com>
Date: Mon, 14 Sep 2020 18:45:54 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Song Liu <song@...nel.org>
Cc: Magnus Karlsson <magnus.karlsson@...il.com>,
Magnus Karlsson <magnus.karlsson@...el.com>,
Björn Töpel <bjorn.topel@...el.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Networking <netdev@...r.kernel.org>,
Jonathan Lemon <jonathan.lemon@...il.com>,
bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH bpf-next] xsk: fix refcount warning in xp_dma_map
On Mon, Sep 14, 2020 at 2:13 PM Song Liu <song@...nel.org> wrote:
>
> On Mon, Sep 14, 2020 at 7:52 AM Magnus Karlsson
> <magnus.karlsson@...il.com> wrote:
> >
> > From: Magnus Karlsson <magnus.karlsson@...el.com>
> >
> > Fix a potential refcount warning that a zero value is increased to one
> > in xp_dma_map, by initializing the refcount to one to start with,
> > instead of zero plus a refcount_inc().
> >
> > Fixes: 921b68692abb ("xsk: Enable sharing of dma mappings")
> > Signed-off-by: Magnus Karlsson <magnus.karlsson@...el.com>
>
> Acked-by: Song Liu <songliubraving@...com>
Applied. Thanks
Powered by blists - more mailing lists