Re: [PATCH net-next v3 3/4] ipmr: add netlink notifications on igmpmsg cache reports

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


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 <halbrook@xxxxxxxxxx>
> Signed-off-by: Julien Gomes <julien@xxxxxxxxxx>
> ---
> include/uapi/linux/mroute.h | 12 ++++++++
> net/ipv4/ipmr.c | 69 +++++++++++++++++++++++++++++++++++++++++++--
> 2 files changed, 79 insertions(+), 2 deletions(-)
>

Thanks,

Reviewed-by: Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx>