diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-28 10:38:03 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-16 16:23:45 (GMT) |
commit | 5d9f423ddb2d4739eeee14990f5369508dee5e9d (patch) | |
tree | ce55cb6da0dab90c21d5347223c899b7512f4bf6 /tools | |
parent | 9f680d2d978a9ab488b210ceeb90354308a0b750 (diff) | |
download | u-boot-fsl-qoriq-5d9f423ddb2d4739eeee14990f5369508dee5e9d.tar.xz |
rtl8169: Defer network packet processing
When network protocol errors occur (such as a file not being found on a
TFTP server), the processing done by the NetReceive() function will end
up calling the driver's .halt() implementation. However, after that the
device no longer has access to the memory buffers and will cause errors
such as this in the rtl_recv() function when trying to hand descriptors
back to the device:
pci_hose_bus_to_phys: invalid physical address
This can be fixed by deferring processing of network packets until the
descriptors have been handed back. That way rtl_halt() tearing down
network buffers is not going to prevent access to the buffers.
Reported-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions