From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Schimmel Subject: Re: linux-next: build failure after merge of the net-next tree Date: Fri, 22 Dec 2017 09:51:00 +0200 Message-ID: <20171222075100.GA4478@splinter> References: <20171222114519.612087d4@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20171222114519.612087d4@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell Cc: David Miller , Networking , Linux-Next Mailing List , Linux Kernel Mailing List , Ido Schimmel , Eric Dumazet List-Id: linux-next.vger.kernel.org Hi Stephen, On Fri, Dec 22, 2017 at 11:45:19AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: [...] > I have added the following merge fix patch for today (I am guessing > a bit here): > > From: Stephen Rothwell > Date: Fri, 22 Dec 2017 11:25:13 +1100 > Subject: [PATCH] ipv6: fix up for "ipv6: Move dst->from into struct rt6_info" > > Signed-off-by: Stephen Rothwell > --- > net/ipv6/route.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/net/ipv6/route.c b/net/ipv6/route.c > index 4efaac956f0c..2490280b3394 100644 > --- a/net/ipv6/route.c > +++ b/net/ipv6/route.c > @@ -4321,9 +4321,8 @@ static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, > goto errout; > } > > - if (fibmatch && rt->dst.from) { > - struct rt6_info *ort = container_of(rt->dst.from, > - struct rt6_info, dst); > + if (fibmatch && rt->from) { > + struct rt6_info *ort = rt->from; Your merge fix is correct. Thanks! > > dst_hold(&ort->dst); > ip6_rt_put(rt);