lkml.org 
[lkml]   [2022]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net v2] net: fman: Use physical address for userspace interfaces
From
Date
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


\
 
 \ /
  Last update: 2022-10-24 11:50    [W:0.080 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site