lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4ktphxDkbZbvuQZUd09vBdNJbn2EfB5mDQ9-6FoXoFKQ@mail.gmail.com>
Date:   Mon, 14 Sep 2020 14:13:20 -0700
From:   Song Liu <song@...nel.org>
To:     Magnus Karlsson <magnus.karlsson@...il.com>
Cc:     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 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>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ