Re: [PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Nikolay Aleksandrov
On 2/11/19 12:12 AM, Callum Sinclair wrote: > Currently the only way to clear the forwarding cache was to delete the > entries one by one using the MRT_DEL_MFC socket option or to destroy and > recreate the socket. > > Create a new socket option which will clear the multicast forwarding > cache on

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Callum Sinclair
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. Using the flags MRT_FLUSH_ENTRIES and MRT_FLUSH_VIFS, all multicast entries can be cleared, all

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-10 Thread Callum Sinclair
Currently the only way to clear the forwarding cache was to delete the entries one by one using the MRT_DEL_MFC socket option or to destroy and recreate the socket. Create a new socket option which will clear the multicast forwarding cache on the socket without destroying the socket. The new socke

Re: [PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-08 Thread Nikolay Aleksandrov
On 08/02/2019 17:08, Nicolas Dichtel wrote: > 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 'mul

Re: [PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-08 Thread Nicolas Dichtel
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

Re: [PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-08 Thread Nikolay Aleksandrov
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 opt

Re: [PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-08 Thread Nicolas Dichtel
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 th

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-07 Thread Callum Sinclair
Currently the only way to clear the mfc cache was to delete the entries one by one using the MRT_DEL_MFC socket option or to destroy and recreate the socket. Create a new socket option which will clear the multicast forwarding cache on the socket without destroying the socket. The new socket optio

[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-07 Thread Callum Sinclair
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. Using the flags MRT_FLUSH_ENTRIES and MRT_FLUSH_VIFS, all multicast entries can be cleared, all