Re: [patch iproute2 v2 repost 1/3] tc_filter: add support for chain index
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-05-27 00:24:12
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-05-27 00:24:12
On 05/27/2017 02:11 AM, Stephen Hemminger wrote:
On Fri, 26 May 2017 21:48:05 +0200 Daniel Borkmann [off-list ref] wrote:quoted
On 05/23/2017 03:40 PM, Jiri Pirko wrote:quoted
Mon, May 22, 2017 at 10:33:15PM CEST, stephen@networkplumber.org wrote:[...]quoted
quoted
Applied to net-next branch of iproute2Looks like you missed the uapi part: CC tc_filter.o tc_filter.c: In function ‘tc_filter_modify’: tc_filter.c:159:34: error: ‘TCA_CHAIN’ undeclared (first use in this function) addattr32(&req.n, sizeof(req), TCA_CHAIN, chain_index); ^~~~~~~~~Looks like still unresolved in the iproute2 -net-next branch ...On the net-next branch include/linux/rtnetlink.h now has TCA_CHAIN, and everything builds fine. You may have local changes or be using different includes
Ok, now it works, thanks for pushing the header rebase out.