From: David S. Miller Date: Mon, 25 Sep 2017 21:44:41 +0000 (-0700) Subject: Merge branch 'l2tp-fix-some-races-in-session-deletion' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=016576d531c1923f604a0f8410312c39e25b26a1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'l2tp-fix-some-races-in-session-deletion' Guillaume Nault says: ==================== l2tp: fix some races in session deletion 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. This issue is similar to the tunnel deletion bug being worked on by Sabrina: https://patchwork.ozlabs.org/patch/814173/ ==================== Signed-off-by: David S. Miller --- 016576d531c1923f604a0f8410312c39e25b26a1