For SMP kernel
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 27 Sep 2008 11:29:47 +0000 (11:29 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 27 Sep 2008 11:29:47 +0000 (11:29 +0000)
commite090f4c1933c231fd60a87875c20b80e40957a1b
tree9c7769fafbd4928e791820b2ed11a18a6118d7a7
parentac5988d6f0c30234463ad7d5fd5a0a7c3a32a540
For SMP kernel
- Don't call arp_update_oncpu() again in in_arpinput()
- Pass dologging to arp_update_oncpu(), only if the current cpu is CPU0,
  remove the redundant cpu==0 checks

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