Opened 9 years ago

Closed 9 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:
Has a Patch: yes Platform: All

Description

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 9 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

comment:1 by andreasf, 9 years ago

Has a Patch: set

comment:2 by axeld, 9 years ago

Status: newin-progress

comment:3 by axeld, 9 years ago

Resolution: fixed
Status: in-progressclosed

Thanks, applied in hrev37125.

Note: See TracTickets for help on using tickets.