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
| ||
|
Date: Wed, 10 Jun 2015 17:13:43 -0400 From: Andy Gospodarek <gospo@...ulusnetworks.com> To: sfeldma@...il.com Cc: netdev@...r.kernel.org, jiri@...nulli.us, bblanco@...mgrid.com Subject: Re: [PATCH net-next] switchdev: fix BUG when port driver doesn't support set attr op On Wed, Jun 10, 2015 at 01:56:02PM -0700, sfeldma@...il.com wrote: > From: Scott Feldman <sfeldma@...il.com> > > Fix a BUG() where CONFIG_NET_SWITCHDEV is set but the driver for a bridged > port does not support switchdec_port_attr_set op. Don't BUG() if > -EOPNOTSUPP is returned. > > Signed-off-by: Scott Feldman <sfeldma@...il.com> > Reported-by: Brenden Blanco <bblanco@...mgrid.com> Looks good since -EOPNOTSUPP seems to be the safe failure case when switchdev is enabled or not. Acked-by: Andy Gospodarek <gospo@...ulusnetworks.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