Re: [PATCH net-next v3 4/4] ip6mr: add netlink notifications on mrt6msg cache reports

From: Nikolay Aleksandrov
Date: Tue Jun 20 2017 - 17:27:55 EST


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 <halbrook@xxxxxxxxxx>
> Signed-off-by: Julien Gomes <julien@xxxxxxxxxx>
> ---
> include/uapi/linux/mroute6.h | 12 ++++++++
> net/ipv6/ip6mr.c | 71 ++++++++++++++++++++++++++++++++++++++++++--
> 2 files changed, 81 insertions(+), 2 deletions(-)
>

Reviewed-by: Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx>