google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.63k stars 1.29k forks source link

Update network/arp/arp.go to use the ARPHardwareType of the associated NIC. #3240

Open hbhasker opened 4 years ago

hbhasker commented 4 years ago

ARP implementation in Netstack hardcodes ARPHRD_ETHER value for the haType field of a NIC. We should make use of the ARPHardwareType() method of the NIC and use that value in the haType field of an ARP request sent from the NIC as well as expect the same value in ARP Responses.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 30 days.