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] [day] [month] [year] [list]
Date:	Mon, 16 Nov 2015 15:24:47 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	dragos@...ocode.com
Cc:	netdev@...r.kernel.org, sridhar.samudrala@...el.com,
	jiri@...lanox.com
Subject: Re: [PATCH] net: switchdev: fix return code of fdb_dump stub

From: Dragos Tatulea <dragos@...ocode.com>
Date: Mon, 16 Nov 2015 10:52:48 +0100

> 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>

Applied, thanks.
--
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