From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next v5 8/9] ipv6: handling of multicast packets received in VRF Date: Wed, 7 Nov 2018 12:08:07 -0700 Message-ID: <644e4623-944c-1ea6-0186-7b977a8a18ed@gmail.com> References: <20181107153610.7526-1-mmanning@vyatta.att-mail.com> <20181107153610.7526-9-mmanning@vyatta.att-mail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Dewi Morgan To: Mike Manning , netdev@vger.kernel.org Return-path: Received: from mail-pg1-f194.google.com ([209.85.215.194]:38235 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbeKHEju (ORCPT ); Wed, 7 Nov 2018 23:39:50 -0500 Received: by mail-pg1-f194.google.com with SMTP id f8-v6so7715250pgq.5 for ; Wed, 07 Nov 2018 11:08:09 -0800 (PST) In-Reply-To: <20181107153610.7526-9-mmanning@vyatta.att-mail.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 11/7/18 8:36 AM, Mike Manning wrote: > If the skb for multicast packets marked as enslaved to a VRF are > received, then the secondary device index should be used to obtain > the real device. And verify the multicast address against the > enslaved rather than the l3mdev device. > > Signed-off-by: Dewi Morgan > Signed-off-by: Mike Manning > --- > net/ipv6/ip6_input.c | 35 ++++++++++++++++++++++++++++++++--- > 1 file changed, 32 insertions(+), 3 deletions(-) > Reviewed-by: David Ahern Tested-by: David Ahern