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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 16 Nov 2015 11:17:24 +0100
From:	Jiri Pirko <jiri@...lanox.com>
To:	Dragos Tatulea <dragos@...ocode.com>
CC:	<netdev@...r.kernel.org>,
	"Samudrala, Sridhar" <sridhar.samudrala@...el.com>,
	<davem@...emloft.net>
Subject: Re: [PATCH] net: switchdev: fix return code of fdb_dump stub

Mon, Nov 16, 2015 at 10:52:48AM CET, dragos@...ocode.com wrote:
>rtnl_fdb_dump always expects an index to be returned by the ndo_fdb_dump op,
>but when CONFIG_NET_SWITCHDEV is off, it returns an error.
>
>Fix that by returning the given unmodified idx.
>
>A similar fix was 0890cf6cb6ab ("switchdev: fix return value of
>switchdev_port_fdb_dump in case of error") but for the CONFIG_NET_SWITCHDEV=y
>case.
>
>Fixes: 45d4122ca7cd ("switchdev: add support for fdb add/del/dump via switchdev_port_obj ops.")
>Signed-off-by: Dragos Tatulea <dragos@...ocode.com>

Acked-by: Jiri Pirko <jiri@...lanox.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ