Re: [PATCH net 0/2] l2tp: session creation fixes

2017-09-03 Thread David Miller
From: Guillaume Nault Date: Fri, 1 Sep 2017 17:58:45 +0200 > The session creation process has a few issues wrt. concurrent tunnel > deletion. > > Patch #1 avoids creating sessions in tunnels that are getting removed. > This prevents races where sessions could try to take tunnel resources > that

[PATCH net 0/2] l2tp: session creation fixes

2017-09-01 Thread Guillaume Nault
The session creation process has a few issues wrt. concurrent tunnel deletion. Patch #1 avoids creating sessions in tunnels that are getting removed. This prevents races where sessions could try to take tunnel resources that were already released. Patch #2 removes some racy l2tp_tunnel_find() cal