Skip to content

Updates for strict checking and kernel side filtering

David Ahern netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12libnetlink: dump extack string in done messagelib/libnetlink.c+39 -50 replies
2/12libnetlink: Use NLMSG_LENGTH to set nlmsg_lenlib/libnetlink.c+14 -100 replies
3/12libnetlink: linkdump_req: Only AF_UNSPEC family expects an ext_filter_masklib/libnetlink.c+60 -330 replies
4/12ip route: Remove rtnl_rtcache_requestinclude/libnetlink.h ip/ipmroute.c ip/iproute.c +1 more+30 -340 replies
5/12ip route: Add protocol, table id and device to dump requestip/iproute.c+14 -00 replies
6/12mroute: fix up family handlingip/ipmroute.c+9 -70 replies
7/12mroute: Add table id attribute for kernel side filteringip/ipmroute.c+14 -10 replies
8/12ip address: Split ip_linkaddr_list into link and addr functionsip/ip_common.h ip/ipaddress.c ip/ipvrf.c+22 -220 replies
9/12ip address: Set device index in dump requestinclude/libnetlink.h ip/ipaddress.c lib/libnetlink.c+65 -90 replies
10/12ip bridge: Set NETLINK_DUMP_STRICT_CHK on socketbridge/bridge.c include/libnetlink.h ip/ip.c +1 more+16 -00 replies
11/12ip route: Rename do_ipv6 to dump_familyip/iproute.c+18 -180 replies
12/12neighbor: Add support for protocol attributeip/ipneigh.c+36 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2-next 00/12] Updates for strict checking and kernel side filtering

From: David Ahern <[email protected]>

Refactorings and updates to use the new strict checking in the kernel along with the new kernel side filtering.

David Ahern (12):
libnetlink: dump extack string in done message
libnetlink: Use NLMSG_LENGTH to set nlmsg_len
libnetlink: linkdump_req: Only AF_UNSPEC family expects an
ext_filter_mask
ip route: Remove rtnl_rtcache_request
ip route: Add protocol, table id and device to dump request
mroute: fix up family handling
mroute: Add table id attribute for kernel side filtering ip address: Split ip_linkaddr_list into link and addr functions ip address: Set device index in dump request
ip bridge: Set NETLINK_DUMP_STRICT_CHK on socket
ip route: Rename do_ipv6 to dump_family
neighbor: Add support for protocol attribute

 bridge/bridge.c      |   4 ++
 include/libnetlink.h |  11 +--
 ip/ip.c              |   2 +
 ip/ip_common.h       |   3 +-
 ip/ipaddress.c       |  92 ++++++++++++++++++------
 ip/ipmroute.c        |  31 ++++++---
 ip/ipneigh.c         |  39 ++++++++++-
 ip/iproute.c         |  89 ++++++++++++------------
 ip/ipvrf.c           |   2 +-
 lib/libnetlink.c     | 192 ++++++++++++++++++++++++++++++++++++++-------------
 10 files changed, 330 insertions(+), 135 deletions(-)
Signature · 1 line
2.11.0