kernel - Adjust arp code to not spam all cpus
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 12 Jul 2016 07:23:32 +0000 (00:23 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 12 Jul 2016 15:21:33 +0000 (08:21 -0700)
commitdb37b7cb7585486031e15797264c6f73811d6428
tree16836611a682c99ef0be3baa9125682257ec0cf0
parentba4f242189ae74553e97862b3509508605fcbfd1
kernel - Adjust arp code to not spam all cpus

* Do not spam all cpus if the arp does not change the routing table.

* Supply (for now) a 1-second hysteresis for expiration updates.

* Add a little netisr debugging for kgdb.
sys/net/netisr.c
sys/netinet/if_ether.c