All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only
@ 2019-01-30  2:25 Callum Sinclair
  2019-01-30  2:25 ` Callum Sinclair
  0 siblings, 1 reply; 12+ messages in thread
From: Callum Sinclair @ 2019-01-30  2:25 UTC (permalink / raw)
  To: davem, kuznet, yoshfuji, nikolay, netdev, linux-kernel; +Cc: 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

 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


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only
@ 2019-01-30 20:52 Callum Sinclair
  2019-01-30 20:52 ` Callum Sinclair
  0 siblings, 1 reply; 12+ messages in thread
From: Callum Sinclair @ 2019-01-30 20:52 UTC (permalink / raw)
  To: davem, kuznet, yoshfuji, nikolay, netdev, linux-kernel; +Cc: 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 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


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only
@ 2019-02-05  2:57 Callum Sinclair
  2019-02-05  2:58 ` Callum Sinclair
  0 siblings, 1 reply; 12+ messages in thread
From: Callum Sinclair @ 2019-02-05  2:57 UTC (permalink / raw)
  To: davem, kuznet, yoshfuji, nikolay, netdev, linux-kernel; +Cc: 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):
  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


^ permalink raw reply	[flat|nested] 12+ messages in thread
* ipmr: ip6mr: Create new sockopt to clear mfc cache only
@ 2019-02-07  2:08 Callum Sinclair
  2019-02-07  2:08 ` [PATCH] " Callum Sinclair
  0 siblings, 1 reply; 12+ messages in thread
From: Callum Sinclair @ 2019-02-07  2:08 UTC (permalink / raw)
  To: davem, kuznet, yoshfuji, nikolay, netdev, linux-kernel; +Cc: 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 multicast interfaces can be closed or both
can be cleared using one sockopt call.

Patch Set 2:
  - Fix Compile Errors

Patch Set 3:
  - Fix Style Errors

Patch Set 4:
  - Implemented a way to clear the entries or vifs based off an input flag.


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

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

-- 
2.20.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-02-07  6:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30  2:25 [PATCH] ipmr: ip6mr: Create new sockopt to clear mfc cache only Callum Sinclair
2019-01-30  2:25 ` Callum Sinclair
2019-01-30  5:42   ` kbuild test robot
2019-01-30  7:13   ` kbuild test robot
2019-01-30 20:52 Callum Sinclair
2019-01-30 20:52 ` Callum Sinclair
2019-02-03  3:42   ` David Miller
2019-02-05  2:57 Callum Sinclair
2019-02-05  2:58 ` Callum Sinclair
2019-02-05 19:52   ` Nikolay Aleksandrov
2019-02-07  2:08 Callum Sinclair
2019-02-07  2:08 ` [PATCH] " Callum Sinclair
2019-02-07  6:32   ` Nikolay Aleksandrov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.