Opened 11 years ago

Closed 11 years ago

#6165 closed enhancement (fixed)

[PATCH] Ethernet: Don't make assumptions about receive buffer size

Reported by: andreasf Owned by: axeld
Priority: normal Milestone: R1
Component: System/Boot Loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


The allocation of the Ethernet send/receive buffer in the boot loader assumes that both will be equally sized, whereas the receive code checks against RECEIVE_BUFFER_SIZE. This will break if they differ.

Explicitly add both values to be safe.

Priority: low

Attachments (1)

0001-Ethernet-Don-t-make-assumptions-about-receive-buffer.patch (894 bytes ) - added by andreasf 11 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

comment:1 by andreasf, 11 years ago

patch: 01

comment:2 by axeld, 11 years ago

Status: newin-progress

comment:3 by axeld, 11 years ago

Resolution: fixed
Status: in-progressclosed

Thanks, applied in hrev37125.

Note: See TracTickets for help on using tickets.