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

Acked-by: Song Liu <[email protected]>

Reply via email to