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(-)
--
2.11.0