[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160725.175746.852554746909121603.davem@davemloft.net>
Date: Mon, 25 Jul 2016 17:57:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, jiri@...lanox.com, eladr@...lanox.com,
yotamg@...lanox.com, nogahf@...lanox.com, ogerlitz@...lanox.com
Subject: Re: [PATCH net-next] mlxsw: spectrum: Fix compilation error when
CLS_ACT isn't set
From: Ido Schimmel <idosch@...lanox.com>
Date: Mon, 25 Jul 2016 13:12:33 +0300
> When CONFIG_NET_CLS_ACT isn't set 'struct tcf_exts' has no member named
> 'actions' and we therefore must not access it. Otherwise compilation
> fails.
>
> Fix this by introducing a new macro similar to tc_no_actions(), which
> always returns 'false' if CONFIG_NET_CLS_ACT isn't set.
>
> Fixes: 763b4b70afcd ("mlxsw: spectrum: Add support in matchall mirror TC offloading")
> Reported-by: kbuild test robot <fengguang.wu@...el.com>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied.
Powered by blists - more mailing lists