From: David S. Miller Date: Fri, 13 Apr 2018 16:17:27 +0000 (-0400) Subject: Merge branch 'l2tp-remove-unsafe-calls-to-l2tp_tunnel_find_nth' X-Git-Tag: v4.17-rc2~20^2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5042dacec877a5cbade94ec29016fd43d5f6c78;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'l2tp-remove-unsafe-calls-to-l2tp_tunnel_find_nth' Guillaume Nault says: ==================== l2tp: remove unsafe calls to l2tp_tunnel_find_nth() Using l2tp_tunnel_find_nth() is racy, because the returned tunnel can go away as soon as this function returns. This series introduce l2tp_tunnel_get_nth() as a safe replacement to fixes these races. With this series, all unsafe tunnel/session lookups are finally gone. ==================== Acked-by: Jason Wang Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- c5042dacec877a5cbade94ec29016fd43d5f6c78