Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1669933

[PATCH net-next v2 0/4] ipmr/ip6mr: add Netlink notifications on cache reports

From Julien Gomes <julien@arista.com>
Newsgroups linux.kernel
Subject [PATCH net-next v2 0/4] ipmr/ip6mr: add Netlink notifications on cache reports
Date 2017-06-19 22:50 +0200
Message-ID <tUbMt-7Ag-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Currently, all ipmr/ip6mr cache reports are sent through the
mroute/mroute6 socket only.
This forces the use of a single socket for mroute programming, cache
reports and, regarding ipmr, IGMP messages without Router Alert option
reception.

The present patches are aiming to send Netlink notifications in addition
to the existing igmpmsg/mrt6msg to give user programs a way to handle
cache reports in parallel with multiple sockets other than the
mroute/mroute6 socket.

Changes in v2:
- Changed attributes naming from {IPMRA,IP6MRA}_CACHEREPORTA_* to
  {IPMRA,IP6MRA}_CREPORT_*
- Improved packet data copy to handle non-linear packets in
  ipmr/ip6mr cache report Netlink notification creation
- Added two rtnetlink groups with restricted-binding
- Changed cache report notified groups from RTNL_{IPV4,IPV6}_MROUTE to
  the new restricted groups in ipmr/ip6mr

Julien Gomes (4):
  rtnetlink: add NEWCACHEREPORT message type
  rtnetlink: add restricted rtnl groups for ipv4 and ipv6 mroute
  ipmr: add netlink notifications on igmpmsg cache reports
  ip6mr: add netlink notifications on mrt6msg cache reports

 include/uapi/linux/mroute.h    | 12 ++++++++
 include/uapi/linux/mroute6.h   | 12 ++++++++
 include/uapi/linux/rtnetlink.h |  7 +++++
 net/core/rtnetlink.c           | 13 ++++++++
 net/ipv4/ipmr.c                | 67 ++++++++++++++++++++++++++++++++++++++++--
 net/ipv6/ip6mr.c               | 67 ++++++++++++++++++++++++++++++++++++++++--
 security/selinux/nlmsgtab.c    |  3 +-
 7 files changed, 176 insertions(+), 5 deletions(-)

-- 
2.13.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH net-next v2 0/4] ipmr/ip6mr: add Netlink notifications on cache reports Julien Gomes <julien@arista.com> - 2017-06-19 22:50 +0200
  [PATCH net-next v2 3/4] ipmr: add netlink notifications on igmpmsg cache reports Julien Gomes <julien@arista.com> - 2017-06-19 22:50 +0200
    Re: [PATCH net-next v2 3/4] ipmr: add netlink notifications on  igmpmsg cache reports Nikolay Aleksandrov <nikolay@cumulusnetworks.com> - 2017-06-20 11:40 +0200
  [PATCH net-next v2 4/4] ip6mr: add netlink notifications on mrt6msg cache reports Julien Gomes <julien@arista.com> - 2017-06-19 22:50 +0200
    Re: [PATCH net-next v2 4/4] ip6mr: add netlink notifications on  mrt6msg cache reports Nikolay Aleksandrov <nikolay@cumulusnetworks.com> - 2017-06-20 12:00 +0200
  [PATCH net-next v2 1/4] rtnetlink: add NEWCACHEREPORT message type Julien Gomes <julien@arista.com> - 2017-06-19 22:50 +0200
    Re: [PATCH net-next v2 1/4] rtnetlink: add NEWCACHEREPORT message  type Nikolay Aleksandrov <nikolay@cumulusnetworks.com> - 2017-06-20 11:00 +0200
  [PATCH net-next v2 2/4] rtnetlink: add restricted rtnl groups for ipv4 and ipv6 mroute Julien Gomes <julien@arista.com> - 2017-06-19 22:50 +0200
    Re: [PATCH net-next v2 2/4] rtnetlink: add restricted rtnl groups for  ipv4 and ipv6 mroute Nikolay Aleksandrov <nikolay@cumulusnetworks.com> - 2017-06-20 11:00 +0200
  Re: [PATCH net-next v2 0/4] ipmr/ip6mr: add Netlink notifications  on cache reports David Miller <davem@davemloft.net> - 2017-06-20 21:30 +0200

csiph-web