Re: [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-06 Thread Nikolay Aleksandrov
On 07/02/2019 04:08, Callum Sinclair wrote: > 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

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-06 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. Signed-off-by:

Re: [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-05 Thread Nikolay Aleksandrov
On 05/02/2019 04:58, Callum Sinclair wrote: > 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

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-04 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. Patch Set 2: - Fix Compile Errors Patch Set 3: - Fix Style Errors Callum Sinclair (1):

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-04 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. Signed-off-by:

Re: [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-02-02 Thread David Miller
From: Callum Sinclair Date: Thu, 31 Jan 2019 09:52:09 +1300 > > -/* Close the multicast socket, and clear the vif tables etc */ > -static void mroute_clean_tables(struct mr_table *mrt, bool all) > +/* Clear the vif tables */ > +static void mroute_clean_cache(struct mr_table *mrt, bool all) >

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-30 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. Signed-off-by:

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-30 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. Patch Set 2: - Fix Compile Errors Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to

Re: [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-29 Thread kbuild test robot
Hi Callum, Thank you for the patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on v5.0-rc4 next-20190129] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-29 Thread kbuild test robot
Hi Callum, Thank you for the patch! Yet something to improve: [auto build test ERROR on net/master] [also build test ERROR on v5.0-rc4 next-20190129] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-29 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. Signed-off-by:

[PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only

2019-01-29 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. Callum Sinclair (1): ipmr: ip6mr: Create new sockopt to clear mfc cache only