Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2051815imm; Thu, 24 May 2018 05:07:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq0OPgIJzrznTKNxCuNpQxRJAT7jhwBpUY7E4uzSiicStVpxPQUP9BVSIGXd6I4pXWSWqrU X-Received: by 2002:a63:a002:: with SMTP id r2-v6mr5636788pge.240.1527163646535; Thu, 24 May 2018 05:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527163646; cv=none; d=google.com; s=arc-20160816; b=WTkDpS1jgKnckm2Maa3v5xlsktdx+Mbj82UlOc/B5oefuExDMCbOP+rX9e46A+CUKo fKnncAZ9eVjqxokUO3kDAbGYbhdAdQc73whbe5AWme0iBoSqFd5WG9WJ7RqoSEz29nSl HIC2iOHW0J6a179fnchtlMIZdSSHm1h0sBtJHZKAaM796pqYG2T8cZjbcreK6YZ12Q6N +1div7jc4ynNxZqQ+V7Li2SCqlJxeWa20Fq0nF3KvYdn2EEs4FNW+JEaQ7aE8WC9u0m4 nBSBOuOQuA4rxpImqYbKp32gs2IxsuVL1rlAkZnm86Jhn8gRNOuNqpsb5o7wJTDmAWUY +MLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=AVAEvmGbVv7GuLMpjPe3yxpfGx4UMdi5K4vvXqsAM0g=; b=iKTX+SfMfCRWQonvvV6PnKZma5mUAz0buH0DMC1x6kYFPe2EhOSu/YQV6FesK1zIq5 yYiygPHnK7QgXw5u0S4lFqYpBArR9kAMyjGtPX7jWtpms/zAnSRsHNKdXxA9VbYW5tS/ LYO0qyyQeHs8/847YQV9NrAdatlaGjFTY3jkoQuz7e7ZWmpdFBf7zY+FduSw8B/25iGG aiLTRsqjuMBlj2291qtAAYT44PdU+L5LFCCdeiF8Sdi9JXU0sib3i3JpgPltpeUH+4L/ MS6TETZaVwK5yhUIUu5MprKsnxBt/IxtqSa7c1FggT051WK461tR8YeFu2XNC3dufo8T Zhbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xZWignIb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12-v6si4345596pgq.41.2018.05.24.05.07.11; Thu, 24 May 2018 05:07:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xZWignIb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966578AbeEXJoB (ORCPT + 99 others); Thu, 24 May 2018 05:44:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:55238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966534AbeEXJnu (ORCPT ); Thu, 24 May 2018 05:43:50 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F14842087E; Thu, 24 May 2018 09:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155030; bh=szqWwTv0Il0JB8mpLYjZd75HLNuoMymiT72UkZ/WzSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xZWignIbd0aujTYCSq64RGV+3mIjxHhgH+Nf44iUTAPSHIU59GIDlRX4UPaYefoFd ENXpx0NG/fmzFbv9U2y4fsVRvXdQSdq669tigU146ybeiizWkCr9IvtAeHCM+3KFld 9EHRTEMurLvWeym5BUy4AUb0x93D03Ubo+1IMoAo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Chapman , "David S. Miller" , Guillaume Nault Subject: [PATCH 4.4 29/92] l2tp: revert "l2tp: fix missing print session offset info" Date: Thu, 24 May 2018 11:38:06 +0200 Message-Id: <20180524093201.741115037@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093159.286472249@linuxfoundation.org> References: <20180524093159.286472249@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: James Chapman commit de3b58bc359a861d5132300f53f95e83f71954b3 upstream. Revert commit 820da5357572 ("l2tp: fix missing print session offset info"). The peer_offset parameter is removed. Signed-off-by: James Chapman Signed-off-by: David S. Miller Cc: Guillaume Nault Signed-off-by: Greg Kroah-Hartman --- net/l2tp/l2tp_netlink.c | 2 -- 1 file changed, 2 deletions(-) --- a/net/l2tp/l2tp_netlink.c +++ b/net/l2tp/l2tp_netlink.c @@ -732,8 +732,6 @@ static int l2tp_nl_session_send(struct s if ((session->ifname[0] && nla_put_string(skb, L2TP_ATTR_IFNAME, session->ifname)) || - (session->offset && - nla_put_u16(skb, L2TP_ATTR_OFFSET, session->offset)) || (session->cookie_len && nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, &session->cookie[0])) ||