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

From: Callum Sinclair
Date: Tue Jan 29 2019 - 21:25:21 EST


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

include/uapi/linux/mroute.h | 3 ++-
include/uapi/linux/mroute6.h | 3 ++-
net/ipv4/ipmr.c | 41 +++++++++++++++++++++-----------
net/ipv6/ip6mr.c | 45 +++++++++++++++++++++++-------------
4 files changed, 60 insertions(+), 32 deletions(-)

--
2.20.1