From: Tom Parkin Date: Tue, 19 Mar 2013 06:11:16 +0000 (+0000) Subject: l2tp: close sessions before initiating tunnel delete X-Git-Tag: v3.9-rc5~28^2~27^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b551c6e7d5bca2c78c216b15ef675653d4f459a;p=pandora-kernel.git l2tp: close sessions before initiating tunnel delete When a user deletes a tunnel using netlink, all the sessions in the tunnel should also be deleted. Since running sessions will pin the tunnel socket with the references they hold, have the l2tp_tunnel_delete close all sessions in a tunnel before finally closing the tunnel socket. Signed-off-by: Tom Parkin Signed-off-by: James Chapman Signed-off-by: David S. Miller --- Reading git-diff-tree failed