From: Jonas Suhr Christensen <hidden> Date: 2023-01-26 10:17:23
Add missing conversion of address when unmapping dma region causing
unmapping to silently fail. At some point resulting in buffer
overrun eg. when releasing device.
Signed-off-by: Jonas Suhr Christensen <redacted>
---
drivers/net/ethernet/xilinx/ll_temac_main.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
From: Jakub Kicinski <kuba@kernel.org> Date: 2023-01-28 07:20:48
On Thu, 26 Jan 2023 11:16:06 +0100 Jonas Suhr Christensen wrote:
Add missing conversion of address when unmapping dma region causing
unmapping to silently fail. At some point resulting in buffer
overrun eg. when releasing device.
Could you add a Fixes tag pointing to the commit which introduced
the bug? It will help the stable teams backport the patch.
When reposting please put [PATCH net v2] as the prefix (noting
the target tree for the benefit of bots/CIs).
Le 26/01/2023 à 11:16, Jonas Suhr Christensen a écrit :
quoted hunk
Add missing conversion of address when unmapping dma region causing
unmapping to silently fail. At some point resulting in buffer
overrun eg. when releasing device.
Signed-off-by: Jonas Suhr Christensen <redacted>
---
drivers/net/ethernet/xilinx/ll_temac_main.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Hi,
just a naive question from s.o. who knows nothing of this code:
Is really [1] ([one]) expected here?
[i] would look more "standard" in a 'for' loop.
just my 2c,
CJ
Hi,
just a naive question from s.o. who knows nothing of this code:
Is really [1] ([one]) expected here?
[i] would look more "standard" in a 'for' loop.