From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752658AbdFTV1A (ORCPT ); Tue, 20 Jun 2017 17:27:00 -0400 Received: from mail-wr0-f181.google.com ([209.85.128.181]:33500 "EHLO mail-wr0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338AbdFTV06 (ORCPT ); Tue, 20 Jun 2017 17:26:58 -0400 Subject: Re: [PATCH net-next v3 3/4] ipmr: add netlink notifications on igmpmsg cache reports To: Julien Gomes , davem@davemloft.net References: <20170620205418.1648-1-julien@arista.com> <20170620205418.1648-4-julien@arista.com> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sharpd@cumulusnetworks.com, nicolas.dichtel@6wind.com From: Nikolay Aleksandrov Message-ID: <3c9ab01a-4c6b-e86f-8de0-fbca12ac58be@cumulusnetworks.com> Date: Wed, 21 Jun 2017 00:26:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170620205418.1648-4-julien@arista.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/06/17 23:54, Julien Gomes wrote: > Add Netlink notifications on cache reports in ipmr, in addition to the > existing igmpmsg sent to mroute_sk. > Send RTM_NEWCACHEREPORT notifications to RTNLGRP_IPV4_MROUTE_R. > > MSGTYPE, VIF_ID, SRC_ADDR and DST_ADDR Netlink attributes contain the > same data as their equivalent fields in the igmpmsg header. > PKT attribute is the packet sent to mroute_sk, without the added igmpmsg > header. > > Suggested-by: Ryan Halbrook > Signed-off-by: Julien Gomes > --- > include/uapi/linux/mroute.h | 12 ++++++++ > net/ipv4/ipmr.c | 69 +++++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 79 insertions(+), 2 deletions(-) > Thanks, Reviewed-by: Nikolay Aleksandrov