From: Tran Tien Dat Date: Thu, 5 Jul 2018 10:13:40 +0800 Subject: [U-Boot] [PATCH v2 0/1] net: Store waiting packet in a different buffer when making ARP requests Message-ID: <20180705021341.8881-1-peter.trantiendat@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Currently, upon receiving an appropriate ARP reply, the packet in net_tx_packet is sent. However, this is a common buffer used by other protocol as well, so it may not be the original packet waiting to be sent after ARP. This patch repurposes another buffer, arp_tx_packet to store the waiting packet and use the net_tx_packet to prepare ARP request. Changes in v2: - Provide more detailed description Tran Tien Dat (1): net: Store waiting packet in a different buffer when making ARP requests net/arp.c | 18 ++++++++++-------- net/arp.h | 1 + net/net.c | 3 +++ 3 files changed, 14 insertions(+), 8 deletions(-) -- 2.18.0