From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH] net/ipv6: init ip6 anycast rt->dst.input as ip6_input Date: Wed, 22 Aug 2018 21:39:04 -0600 Message-ID: <49c945fa-365f-307a-7828-8f208b123e2c@gmail.com> References: <1534995097-6189-1-git-send-email-liuhangbin@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "David S. Miller" To: Hangbin Liu , netdev@vger.kernel.org Return-path: Received: from mail-pl0-f67.google.com ([209.85.160.67]:37086 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbeHWHGl (ORCPT ); Thu, 23 Aug 2018 03:06:41 -0400 Received: by mail-pl0-f67.google.com with SMTP id c6-v6so1768043pls.4 for ; Wed, 22 Aug 2018 20:39:07 -0700 (PDT) In-Reply-To: <1534995097-6189-1-git-send-email-liuhangbin@gmail.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 8/22/18 9:31 PM, Hangbin Liu wrote: > Commit 6edb3c96a5f02 ("net/ipv6: Defer initialization of dst to data path") > forgot to handle anycast route and init anycast rt->dst.input to ip6_forward. > Fix it by setting anycast rt->dst.input back to ip6_input. > > Fixes: 6edb3c96a5f02 ("net/ipv6: Defer initialization of dst to data path") > Signed-off-by: Hangbin Liu > --- > net/ipv6/route.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Good catch. Reviewed-by: David Ahern