Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbdFTV1w (ORCPT ); Tue, 20 Jun 2017 17:27:52 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:35946 "EHLO mail-wr0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbdFTV1u (ORCPT ); Tue, 20 Jun 2017 17:27:50 -0400 Subject: Re: [PATCH net-next v3 4/4] ip6mr: add netlink notifications on mrt6msg cache reports To: Julien Gomes , davem@davemloft.net References: <20170620205418.1648-1-julien@arista.com> <20170620205418.1648-5-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: <40136ce1-c270-7008-f348-e69805e56623@cumulusnetworks.com> Date: Wed, 21 Jun 2017 00:27:42 +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-5-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 Content-Length: 801 Lines: 20 On 20/06/17 23:54, Julien Gomes wrote: > Add Netlink notifications on cache reports in ip6mr, in addition to the > existing mrt6msg sent to mroute6_sk. > Send RTM_NEWCACHEREPORT notifications to RTNLGRP_IPV6_MROUTE_R. > > MSGTYPE, MIF_ID, SRC_ADDR and DST_ADDR Netlink attributes contain the > same data as their equivalent fields in the mrt6msg header. > PKT attribute is the packet sent to mroute6_sk, without the added > mrt6msg header. > > Suggested-by: Ryan Halbrook > Signed-off-by: Julien Gomes > --- > include/uapi/linux/mroute6.h | 12 ++++++++ > net/ipv6/ip6mr.c | 71 ++++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 81 insertions(+), 2 deletions(-) > Reviewed-by: Nikolay Aleksandrov