From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 16 Sep 2014 20:44:15 -0400 Subject: [U-Boot] [U-Boot, v2, 01/40] vsprintf: Add modifier for phys_addr_t In-Reply-To: <20140828103802.GC14388@ulmo> References: <20140828103802.GC14388@ulmo> Message-ID: <20140917004415.GK25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Thierry Reding > Date: Thu, 28 Aug 2014 12:26:58 +0200 > Subject: [PATCH] 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 > Signed-off-by: Thierry Reding Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: