
5 Jul
2018
5 Jul
'18
4:13 a.m.
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