Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757365AbdIIDr7 (ORCPT ); Fri, 8 Sep 2017 23:47:59 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:42756 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753201AbdIIDr5 (ORCPT ); Fri, 8 Sep 2017 23:47:57 -0400 Date: Fri, 08 Sep 2017 20:47:53 -0700 (PDT) Message-Id: <20170908.204753.178379645402959649.davem@davemloft.net> To: yanhaishuang@cmss.chinamobile.com Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ast@fb.com Subject: Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode From: David Miller In-Reply-To: <1504764515-13536-1-git-send-email-yanhaishuang@cmss.chinamobile.com> References: <1504764515-13536-1-git-send-email-yanhaishuang@cmss.chinamobile.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 08 Sep 2017 20:47:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 384 Lines: 11 From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:34 +0800 > ttl and tos variables are declared and assigned, but are not used in > iptunnel_xmit() function. > > Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") > Cc: Alexei Starovoitov > Signed-off-by: Haishuang Yan Applied.