Re: [PATCH net 0/4] l2tp: register sessions atomically

2017-10-28 Thread David Miller
From: Guillaume Nault Date: Fri, 27 Oct 2017 16:51:48 +0200 > Currently l2tp_session_create() allocates a session, partially > initialises it and finally registers it. It therefore exposes sessions > that aren't fully initialised to the rest of the system, because > pseudo-wire specific initialis

[PATCH net 0/4] l2tp: register sessions atomically

2017-10-27 Thread Guillaume Nault
Currently l2tp_session_create() allocates a session, partially initialises it and finally registers it. It therefore exposes sessions that aren't fully initialised to the rest of the system, because pseudo-wire specific initialisation can only happen after l2tp_session_create() returns. This leads