[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57154D80.9080601@cumulusnetworks.com>
Date: Mon, 18 Apr 2016 14:11:28 -0700
From: roopa <roopa@...ulusnetworks.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, jhs@...atatu.com, tgraf@...g.ch
Subject: Re: [PATCH net-next v4] rtnetlink: add new RTM_GETSTATS message to
dump link stats
On 4/18/16, 9:28 AM, David Miller wrote:
> From: Roopa Prabhu <roopa@...ulusnetworks.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)
sorry, did not know about this check. sent v5 just now..
Powered by blists - more mailing lists