[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54fa1b60-ebae-94a2-8036-06df6c05307a@gmail.com>
Date: Wed, 27 Jun 2018 08:55:06 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Magnus Karlsson <magnus.karlsson@...el.com>, bjorn.topel@...el.com,
ast@...com, daniel@...earbox.net, netdev@...r.kernel.org
Cc: qi.z.zhang@...el.com, pavel@...tnetmon.com
Subject: Re: [PATCH bpf 4/4] xsk: fix potential race in SKB TX completion code
On 06/27/2018 07:02 AM, Magnus Karlsson wrote:
> There was a potential race in the TX completion code for
> the SKB case when the TX napi thread and the error path
> of the sendmsg code could both call the SKB destructor
> at the same time. Fixed by introducing a spin_lock in the
> destructor.
Wow, what is the impact on performance ?
Please describe a bit more what is the problem.
Powered by blists - more mailing lists