[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190221.130528.1962020421176856619.davem@davemloft.net>
Date: Thu, 21 Feb 2019 13:05:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: callum.sinclair@...iedtelesis.co.nz
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
nikolay@...ulusnetworks.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, nicolas.dichtel@...nd.com
Subject: Re: [PATCH net-next v6] ipmr: ip6mr: Create new sockopt to clear
mfc cache or vifs
From: Callum Sinclair <callum.sinclair@...iedtelesis.co.nz>
Date: Mon, 18 Feb 2019 10:07:51 +1300
> Created a way to clear the multicast forwarding cache on a socket
> without having to either remove the entries manually using the delete
> entry socket option or destroy and recreate the multicast socket.
>
> Calling the socket option MRT_FLUSH will allow any combination of the
> four flag options to be cleared.
>
> MRT_FLUSH_MFC will clear all non static mfc entries and clear the unresolved cache
> MRT_FLUSH_MFC_STATIC will clear all static mfc entries
> MRT_FLUSH_VIFS will clear all non static interfaces
> MRT_FLUSH_VIFS_STATIC will clear all static interfaces.
Applied.
Powered by blists - more mailing lists