From: Roopa Prabhu <ro...@cumulusnetworks.com> Date: Sun, 17 Apr 2016 22:35:35 -0700
> This patch adds a new RTM_GETSTATS message to query link stats via netlink > from the kernel. RTM_NEWLINK also dumps stats today, but RTM_NEWLINK > returns a lot more than just stats and is expensive in some cases when > frequent polling for stats from userspace is a common operation. The following build failure needs to be resolved: security/selinux/nlmsgtab.c: In function ‘selinux_nlmsg_lookup’: include/linux/compiler.h:506:38: error: call to ‘__compiletime_assert_158’ declared with attribute error: BUILD_BUG_ON failed: RTM_MAX != (RTM_NEWNSID + 3)