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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 20 Nov 2023 18:51:23 -0800 From: Jakub Kicinski <kuba@...nel.org> To: Jiri Pirko <jiri@...nulli.us> Cc: netdev@...r.kernel.org, pabeni@...hat.com, davem@...emloft.net, edumazet@...gle.com, jacob.e.keller@...el.com, jhs@...atatu.com, johannes@...solutions.net, andriy.shevchenko@...ux.intel.com, amritha.nambiar@...el.com, sdf@...gle.com, horms@...nel.org Subject: Re: [patch net-next v3 8/9] devlink: add a command to set notification filter and use it for multicasts On Mon, 20 Nov 2023 09:46:56 +0100 Jiri Pirko wrote: > + if (attrs[DEVLINK_ATTR_BUS_NAME]) > + data_size += nla_len(attrs[DEVLINK_ATTR_BUS_NAME]) + 1; > + if (attrs[DEVLINK_ATTR_DEV_NAME]) > + data_size += nla_len(attrs[DEVLINK_ATTR_DEV_NAME]) + 1; > + /* Don't attach empty filter. */ > + if (!flt->bus_name && !flt->dev_name) { Should the attrs be checked with GENL_REQ_ATTR_CHECK() then?
Powered by blists - more mailing lists