Setting variable arpinit_done is not MP save if we want to execute
authorbluhm <bluhm@openbsd.org>
Fri, 23 Apr 2021 21:55:36 +0000 (21:55 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 23 Apr 2021 21:55:36 +0000 (21:55 +0000)
commit632220b102dfaac73e8131c20755aa641b09f1d5
treed619a4d8dbe54bbd69e2d7ab2df0e183d082ea54
parent04cb3f44b439b3ffec96eb4fd8a1c482f300c58b
Setting variable arpinit_done is not MP save if we want to execute
arp_rtrequest() in parallel.  Move initialization to arpinit()
function.
OK kettenis@ mvs@
sys/netinet/if_ether.c
sys/netinet/if_ether.h
sys/netinet/ip_input.c