[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180411.174206.1962052793463557355.davem@davemloft.net>
Date: Wed, 11 Apr 2018 17:42:06 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: g.nault@...halink.fr
Cc: netdev@...r.kernel.org, jchapman@...alix.com, tparkin@...alix.com
Subject: Re: [PATCH net 0/2] l2tp: tunnel creation fixes
From: Guillaume Nault <g.nault@...halink.fr>
Date: Tue, 10 Apr 2018 21:01:07 +0200
> L2TP tunnel creation is racy. We need to make sure that the tunnel
> returned by l2tp_tunnel_create() isn't going to be freed while the
> caller is using it. This is done in patch #1, by separating tunnel
> creation from tunnel registration.
>
> With the tunnel registration code in place, we can now check for
> duplicate tunnels in a race-free way. This is done in patch #2, which
> incidentally removes the last use of l2tp_tunnel_find().
Series applied and queued up for -stable, thanks.
Powered by blists - more mailing lists