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

From: Callum Sinclair
Date: Wed Jan 30 2019 - 15:52:17 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.

Patch Set 2:
- Fix Compile Errors

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 | 40 +++++++++++++++++++++----------
net/ipv6/ip6mr.c | 46 +++++++++++++++++++++++-------------
4 files changed, 61 insertions(+), 31 deletions(-)

--
2.20.1