path: root/sys/sys
diff options
authorBryan Drewery <bdrewery@FreeBSD.org>2021-07-27 20:12:37 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2021-07-28 23:34:14 +0000
commit7cbf1de38e06663c76f4f075db31ea25f429f1b3 (patch)
tree32fe46f79d4b774fd88bb737531597af03d1bf04 /sys/sys
parent07c4b78d0a1d26b6441cf3e52b917f20c932b9d0 (diff)
debugnet: Fix false-positive assertions for dp_state
debugnet_handle_arp: An assertion is present to ensure the pcb is only modified when the state is DN_STATE_INIT. Because debugnet_arp_gw() is asynchronous it is possible for ARP replies to come in after the gateway address is known and the state already changed. debugnet_handle_ip: Similarly it is possible for packets to come in, from the expected server, during the gateway mac discovery phase. This can happen from testing disconnects / reconnects in quick succession. This later causes some acks to be sent back but hit an assertion because the state is wrong. Reviewed by: cem, debugnet_handle_arp: markj, vangyzen Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D31327
Diffstat (limited to 'sys/sys')
0 files changed, 0 insertions, 0 deletions