Commit f2a7806f authored by Clive Stubbings's avatar Clive Stubbings Committed by Ben Warren

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: default avatarMichal Simek <>
Signed-off-by: default avatarBen Warren <>
parent 0115b195
......@@ -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*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment