lkml.org 
[lkml]   [2019]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs
Date
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 multicast interfaces can be closed or both
can be cleared using one sockopt call.

Callum Sinclair (1):
ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

include/uapi/linux/mroute.h | 7 +++-
include/uapi/linux/mroute6.h | 7 +++-
net/ipv4/ipmr.c | 69 ++++++++++++++++++++-------------
net/ipv6/ip6mr.c | 74 ++++++++++++++++++++++--------------
4 files changed, 100 insertions(+), 57 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2019-02-08 05:12    [W:0.214 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site