- During ARP resolving, current thread msgport or current CPU's netisr msgport
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 9 Nov 2008 10:18:42 +0000 (10:18 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 9 Nov 2008 10:18:42 +0000 (10:18 +0000)
commita6f79f3a09134ff154e56d8d95814e5a6bea6e15
treef25c8dce54ad0206c512cb1242e806ff3c72b506
parent09301a2b29f3ae5edd39a858f909f8770372f71e
- During ARP resolving, current thread msgport or current CPU's netisr msgport
  (if current is not TDF_NETWORK) is recorded in addition to the mbuf.
- When ARP resolving is finished, the recorded mbuf is dispatched to the
  recorded msgport to do network output using priority message.

This eliminates the last network output in route threads.

Reviewed-by: dillon@
sys/netinet/if_ether.c