[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200527173536.GD49942@google.com>
Date: Wed, 27 May 2020 10:35:36 -0700
From: sdf@...gle.com
To: Jakub Sitnicki <jakub@...udflare.com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
kernel-team@...udflare.com
Subject: Re: [PATCH bpf-next 1/8] flow_dissector: Don't grab update-side lock
on prog detach from pre_exit
On 05/27, Jakub Sitnicki wrote:
> When there are no references to struct net left, that is check_net(net) is
> false, we don't need to synchronize updates to flow_dissector prog with
> BPF
> prog attach/detach callbacks. That allows us to pull locking up from the
> shared detach routine and into the bpf prog detach callback.
> Signed-off-by: Jakub Sitnicki <jakub@...udflare.com>
Reviewed-by: Stanislav Fomichev <sdf@...gle.com>
Powered by blists - more mailing lists