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, 12 Dec 2022 23:10:16 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Vladimir Oltean <vladimir.oltean@....com> Cc: netdev@...r.kernel.org, andrew@...n.ch, f.fainelli@...il.com, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, richardcochran@...il.com Subject: Re: [PATCH net-next] net: dsa: don't call ptp_classify_raw() if switch doesn't provide RX timestamping Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@...nel.org>: On Fri, 9 Dec 2022 19:58:40 +0200 you wrote: > ptp_classify_raw() is not exactly cheap, since it invokes a BPF program > for every skb in the receive path. For switches which do not provide > ds->ops->port_rxtstamp(), running ptp_classify_raw() provides precisely > nothing, so check for the presence of the function pointer first, since > that is much cheaper. > > Signed-off-by: Vladimir Oltean <vladimir.oltean@....com> > > [...] Here is the summary with links: - [net-next] net: dsa: don't call ptp_classify_raw() if switch doesn't provide RX timestamping https://git.kernel.org/netdev/net-next/c/8f18655c49eb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists