net: ipmr: more cleanups and mfc netlink support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net: remove unnecessary mroute.h includesnet/ net/ net/ +4 more | +0 | 0 replies | |
| 2/7 | net: ipmr: remove unused MFC_NOTIFY flag and make the flags enuminclude/ net/ | +7 | 0 replies | |
| 3/7 | net: ipmr: adjust mroute.h style and drop externinclude/ | +21 | 0 replies | |
| 4/7 | net: ipmr: move struct mr_table and VIF_EXISTS to mroute.hinclude/ net/ | +19 | 0 replies | |
| 5/7 | net: ipmr: move pimsm_enabled to pim.h and renameinclude/ net/ | +8 | 0 replies | |
| 6/7 | net: ipmr: fix setsockopt error returnnet/ | +5 | 0 replies | |
| 7/7 | net: ipmr: add mfc newroute/delroute netlink supportnet/ | +129 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/7] net: ipmr: more cleanups and mfc netlink support
From: Nikolay Aleksandrov <[email protected]>
Hi,
This set continues with the minor cleanups in the first 6 patches and patch 7 adds the first new feature - MFC manipulation via netlink. It registers NEWROUTE/DELROUTE for that purpose and uses the same semantics as the already present netlink dump. The only new attribute that is used is RTA_PREFSRC to denote an MFC_PROXY entry. Currently the table must exist before adding an entry, and new tables can be created only via setsockopt, but that will be changed in the future.
This set was tested with modified iproute2 which supports NEWROUTE/DELROUTE for RTNL_FAMILY_IPMR.
Cheers,
Nik
Nikolay Aleksandrov (7):
net: remove unnecessary mroute.h includes
net: ipmr: remove unused MFC_NOTIFY flag and make the flags enum
net: ipmr: adjust mroute.h style and drop extern
net: ipmr: move struct mr_table and VIF_EXISTS to mroute.h
net: ipmr: move pimsm_enabled to pim.h and rename
net: ipmr: fix setsockopt error return
net: ipmr: add mfc newroute/delroute netlink support
include/linux/mroute.h | 76 ++++++++++++--------- include/linux/pim.h | 5 ++ net/ipv4/ip_gre.c | 1 - net/ipv4/ip_output.c | 1 - net/ipv4/ip_tunnel.c | 1 - net/ipv4/ip_tunnel_core.c | 1 - net/ipv4/ip_vti.c | 1 - net/ipv4/ipip.c | 1 - net/ipv4/ipmr.c | 168 +++++++++++++++++++++++++++++++++++++--------- net/ipv6/ip6_gre.c | 1 - 10 files changed, 188 insertions(+), 68 deletions(-)
Signature · 1 line
2.4.3