Messages in this thread | | | Subject | Re: [PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs | From | Nicolas Dichtel <> | Date | Fri, 8 Feb 2019 16:08:41 +0100 |
| |
Le 08/02/2019 à 15:43, Nikolay Aleksandrov a écrit : > On 08/02/2019 16:18, Nicolas Dichtel wrote: >> Le 08/02/2019 à 05:11, Callum Sinclair a écrit : >>> Currently the only way to clear the mfc cache was to delete the entries >> mfc stands for 'multicast forwarding cache', so 'mfc cache' is a bit strange. >> >>> one by one using the MRT_DEL_MFC socket option or to destroy and >>> recreate the socket. >> Note that if entries were added with MRT_ADD_MFC_PROXY, they will survive to the >> socket destruction. This is not the case with your new cmd. Is it intended? > > I think you're referring to MFC_STATIC entries (sk != mroute_sk). It > doesn't matter how you add an entry - they all get cleaned up if added > through the mroute socket. Yes, right. MRT_FLUSH_MFC_STATIC ?
| |