lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ