Messages in this thread | | | Subject | Re: [PATCH net v2] net: fman: Use physical address for userspace interfaces | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 24 Oct 2022 09:50:16 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Thu, 20 Oct 2022 11:50:41 -0400 you wrote: > Before 262f2b782e25 ("net: fman: Map the base address once"), the > physical address of the MAC was exposed to userspace in two places: via > sysfs and via SIOCGIFMAP. While this is not best practice, it is an > external ABI which is in use by userspace software. > > The aforementioned commit inadvertently modified these addresses and > made them virtual. This constitutes and ABI break. Additionally, it > leaks the kernel's memory layout to userspace. Partially revert that > commit, reintroducing the resource back into struct mac_device, while > keeping the intended changes (the rework of the address mapping). > > [...]
Here is the summary with links: - [net,v2] net: fman: Use physical address for userspace interfaces https://git.kernel.org/netdev/net/c/c99f0f7e6837
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |