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  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]
Date:   Mon, 14 Sep 2020 14:13:20 -0700
From:   Song Liu <>
To:     Magnus Karlsson <>
Cc:     Magnus Karlsson <>,
        Björn Töpel <>,
        Alexei Starovoitov <>,
        Daniel Borkmann <>,
        Networking <>,
        Jonathan Lemon <>,
        bpf <>
Subject: Re: [PATCH bpf-next] xsk: fix refcount warning in xp_dma_map

On Mon, Sep 14, 2020 at 7:52 AM Magnus Karlsson
<> wrote:
> From: Magnus Karlsson <>
> 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 <>

Acked-by: Song Liu <>

Powered by blists - more mailing lists