xilinx_emaclite buffer overrun
Subsystems (2)
PATCH 1/1 xilinx_emaclite buffer overrun
Patch to fix buffer allocation size and alignment. Buffer needs to be u32 aligned and PKTSIZE_ALIGN bytes long.
Acked-by Michal Simek <[email protected]>
--- drivers/net/xilinx_emaclite.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/xilinx_emaclite.c +1 -1
@@ -70,7 +70,7 @@ typedef struct {static xemaclite emaclite; -static char etherrxbuff[PKTSIZE_ALIGN /4 ];/* Receive buffer */ +static u32 etherrxbuff[PKTSIZE_ALIGN /4 ];/* Receive buffer */ /* hardcoded MAC address for the Xilinx EMAC Core when env is nowhere*/ #ifdef CONFIG_ENV_IS_NOWHERE
Signature · 1 line
1.5.6.4
PATCH 1/1 xilinx_emaclite buffer overrun
Quoted 6 lines · Clive Stubbings
Patch to fix buffer allocation size and alignment. Buffer needs to be u32 aligned and
PKTSIZE_ALIGNbytes long.Acked-by Michal Simek <[email protected]>---
Added to net repo.
thanks,
Ben