Index | Thread | Search

From:
Vitaliy Makkoveev <mvs@openbsd.org>
Subject:
Re: Please test: wg(4): drop "while (!ifq_empty())" hack in wg_peer_destroy()
To:
tech@openbsd.org
Date:
Fri, 19 Jan 2024 17:46:57 +0300

Download raw body.

Thread
On Fri, Jan 19, 2024 at 03:17:28PM +0100, Claudio Jeker wrote:
> 
> I would prefer if you actually removed t_peer from the wg_tag. At least
> then it is clear that nothing depends on this hack anymore.
> 

This hack is obvious and it only relate to wg_qstart(). Other places
where t_peer is used "protected" by taskq_barrier(). This is not
obvious. And yes, t_peer can't be removed just now.

> -- 
> :wq Claudio
>