Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3812403ybc; Thu, 21 Nov 2019 14:15:24 -0800 (PST) X-Google-Smtp-Source: APXvYqxs8EoxVtmDhP/O7cWOBTbAttGdrtr6yDqSvF3nVi+0LxVNAgoS3jX0qVURZw8gh+/Nkn1A X-Received: by 2002:a17:906:5211:: with SMTP id g17mr17105281ejm.60.1574374524250; Thu, 21 Nov 2019 14:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574374524; cv=none; d=google.com; s=arc-20160816; b=LzgUWjfQbqIBXdK0XYtdYV6pSdqy8tt0UZLWolYdcViAPtWJl2ctypl34AqvIzoiFH lUm5Cf71l9136dCk2FfJ4gxUtc0Z+oG8XyiOdrXS9e8/9COuoWZgpDzRAIR83MDEt2Ht GekWfJTXL0HDrneAxgzgrkFBfq2fbfo+2PqUVj3aceIDjVyN1VRURYCyTTjOo8sqw7wr ACtrw3y6dOYDN48HTzJc8QWIt4gAJIwTe1ha1zgXZTMpuOIXVw682O5VlLe/+6qZOvwa pyqlbl6DBNsnGWIj22ZPFLIu6ff8oujzEzwsXHn9vHWUFn1xTn0Rif4VOCYofm31c0PO nwaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=l2Ca34z4X8RD02mqUT4q+3q/4QcAVJW4yw8ntPvsUPo=; b=F3stgrk9fgm4SZ4vhaSBY21kOLijrPHt4H2nC6tBHL24fci0HONVn2dyn8Os36DJTz nPmp7KJqk4+kc95IWbttWiFjHCYlbUxF1UPyeMOU7pxe7t8GJzSFH4cSZQZk4ZHCVG7k 36Abuj5gOQPq+QOounwrYhuMF3sWNkG7lfkkZ0K3lLZ1QW9x0FOKbpLU3KlJKoCnMDPT Vbg9XOe/rND/w1WafXmmH5+6Q/bS/kXl0Hgp+68BLyK3akEnj3kirwMdw/2kj+xKj8zd QYg3PBwLi9xpGFL2uQD4XNeZp/+UfxJILSR4//51/Piqc/xdmwxOdC8grBz3bVlwOPdq bJIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=Gp6EEC4I; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=R2xnOMRt; 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 b18si3338643edc.390.2019.11.21.14.15.00; Thu, 21 Nov 2019 14:15:24 -0800 (PST) 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=@kroah.com header.s=fm2 header.b=Gp6EEC4I; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=R2xnOMRt; 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 S1726907AbfKUWNO (ORCPT + 99 others); Thu, 21 Nov 2019 17:13:14 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41009 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726554AbfKUWNO (ORCPT ); Thu, 21 Nov 2019 17:13:14 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 312EE22BED; Thu, 21 Nov 2019 17:13:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 21 Nov 2019 17:13:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=l2Ca34z4X8RD02mqUT4q+3q/4Qc AVJW4yw8ntPvsUPo=; b=Gp6EEC4ISgsaX08nykRyMxNb7FL1GxvO777GR9iELi+ 00h5hTF9llAjkB4oWkRVtWUVfHWgQd1wy34PYfzjRvsVURek6e3i5q7BqghBakVO abWiwAUfOMrg8LVkTnGql1vl+wsJDFRvfLgHwIYTYAvNChkg7ZIN2ATwJ9TZPoiQ bdXvt5+F/56F5d7eP95Ixu9ahLTSlQzjv4TNh/lGR1yeSCV6MUozb2C9eCbxvaN/ Kyaf4xcBNm+VPjEbPIWMUdNhMm4ZUTKCOwvLC5Kzzi2o3O/HvNWwPgg3A0UsUANi baAOd6CkF8dA3d0bLdvgjeV+O7diK23AGTX/H23/q1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=l2Ca34 z4X8RD02mqUT4q+3q/4QcAVJW4yw8ntPvsUPo=; b=R2xnOMRtfcEB89sIfuvsTo Pm6jlOyYjAbP5bhcrq7sM9EgRuQFU7/a4Vgjoj1m01rse0yyj2gbJUFEq3NLtX7o m6NIhIEzx6DczkByVb82m+v2aCAVOjtehukAUnnTorggJKrRFa06MC2Efge+RICy 8nDJeSzd4eI/G3v0Z1evujpFVgKt/f7Ldgg6loNYTqh+Ip2ovJCTr30ZpQRWJNr6 sAIKkUomadeKBtHoE1ZprZ7sPEuEKyiilzH7kEPPbqZvckZag4ms7rTNJSigWFgr uZLynZiwN/RfJieig4uRYQ0AZna9XXPV/rxXxJFhRJdJ7lrcDLUHItKwZH2SrC+A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehvddgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjfgesth dtredttdervdenucfhrhhomhepifhrvghgucfmjfcuoehgrhgvgheskhhrohgrhhdrtgho mheqnecuffhomhgrihhnpehsphhinhhitghsrdhnvghtnecukfhppeekfedrkeeirdekle druddtjeenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm necuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id A8809306005C; Thu, 21 Nov 2019 17:13:12 -0500 (EST) Date: Thu, 21 Nov 2019 23:13:11 +0100 From: Greg KH To: Stephen Suryaputra Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, dsahern@gmail.com, davem@davemloft.net Subject: Re: Back-porting request Message-ID: <20191121221311.GA1088624@kroah.com> References: <20190729154234.GA3508@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190729154234.GA3508@ubuntu> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 29, 2019 at 11:42:34AM -0400, Stephen Suryaputra wrote: > Hello, > > I'm requesting this commit to be back-ported to v4.14: > --- > commit 5b18f1289808fee5d04a7e6ecf200189f41a4db6 > Author: Stephen Suryaputra > Date: Wed Jun 26 02:21:16 2019 -0400 > > ipv4: reset rt_iif for recirculated mcast/bcast out pkts > > Multicast or broadcast egress packets have rt_iif set to the oif. These > packets might be recirculated back as input and lookup to the raw > sockets may fail because they are bound to the incoming interface > (skb_iif). If rt_iif is not zero, during the lookup, inet_iif() function > returns rt_iif instead of skb_iif. Hence, the lookup fails. > > v2: Make it non vrf specific (David Ahern). Reword the changelog to > reflect it. > Signed-off-by: Stephen Suryaputra > Reviewed-by: David Ahern > Signed-off-by: David S. Miller > --- > > We found the issue in that release and the above commit is on > linux-stable. On the discussion behind this commit, please see: > https://www.spinics.net/lists/netdev/msg581045.html > > I think after the following diff is needed on top of the above commit > for v4.14: > > --- > diff --git a/net/ipv4/route.c b/net/ipv4/route.c > index 4d85a4fdfdb0..ad2718c1624e 100644 > --- a/net/ipv4/route.c > +++ b/net/ipv4/route.c > @@ -1623,11 +1623,8 @@ struct rtable *rt_dst_clone(struct net_device *dev, struct rtable *rt) > new_rt->rt_iif = rt->rt_iif; > new_rt->rt_pmtu = rt->rt_pmtu; > new_rt->rt_mtu_locked = rt->rt_mtu_locked; > - new_rt->rt_gw_family = rt->rt_gw_family; > - if (rt->rt_gw_family == AF_INET) > - new_rt->rt_gw4 = rt->rt_gw4; > - else if (rt->rt_gw_family == AF_INET6) > - new_rt->rt_gw6 = rt->rt_gw6; > + new_rt->rt_gateway = rt->rt_gateway; > + new_rt->rt_table_id = rt->rt_table_id; > INIT_LIST_HEAD(&new_rt->rt_uncached); > > new_rt->dst.flags |= DST_HOST; > --- This only worked for 4.14, this also needs to go to 4.19. Can you provide a working backport for both trees so that I can apply it? I'll go drop the one I added, as it breaks the build :( thanks, greg k-h