Re: [PATCH net 0/2] l2tp: fix some races in session deletion

2017-09-25 Thread David Miller
From: Guillaume Nault Date: Fri, 22 Sep 2017 15:39:22 +0200 > L2TP provides several interfaces for deleting sessions. Using two of > them concurrently can lead to use-after-free bugs. > > Patch #2 uses a flag to prevent double removal of L2TP sessions. > Patch #1 fixes a

[PATCH net 0/2] l2tp: fix some races in session deletion

2017-09-22 Thread Guillaume Nault
L2TP provides several interfaces for deleting sessions. Using two of them concurrently can lead to use-after-free bugs. Patch #2 uses a flag to prevent double removal of L2TP sessions. Patch #1 fixes a bug found in the way. Fixing this bug is also necessary for patch #2 to handle all cases.