From: Guillaume Nault Subject: [PATCH net-next 0/3] l2tp: avoid aliasing tunnels socket pointer Date: Sat, 11 Nov 2017 06:06:23 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: James Chapman To: netdev@vger.kernel.org Return-path: Received: from zimbra.alphalink.fr ([217.15.80.77]:50716 "EHLO zimbra.alphalink.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbdKJVGM (ORCPT ); Fri, 10 Nov 2017 16:06:12 -0500 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: We don't need to copy the tunnel's socket pointer in the pseudo-wire specific session structures. This uselessly complicates the code and hampers evolution. This series was part of an effort to protect tunnels socket pointer with RCU. But since it provides nice cleanup, I submit it separately. Guillaume Nault (3): l2tp: remove .tunnel_sock from struct l2tp_eth l2tp: avoid using ->tunnel_sock for getting session's parent tunnel l2tp: remove the .tunnel_sock field from struct pppol2tp_session net/l2tp/l2tp_eth.c | 2 -- net/l2tp/l2tp_ppp.c | 76 +++++++++-------------------------------------------- 2 files changed, 12 insertions(+), 66 deletions(-) -- 2.11.0