summaryrefslogtreecommitdiff
path: root/sys/net/netisr.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-01-08 13:53:25 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-01-08 13:53:25 +0000
commit4a431b682d21d7490cbf8e4698a169488e4661cd (patch)
tree69f2a8339b679d9b98d3582da1065cf03f2148a3 /sys/net/netisr.c
parentec93a54243f48ca266a213a866557f62eb190ca8 (diff)
Get rid of the arp and revarp input queues.
Packets of types ARP and REVARP are now processed in the softnet task, directly from ether_input() and without holding the KERNEL_LOCK. Tested by many, ok dlg@
Diffstat (limited to 'sys/net/netisr.c')
-rw-r--r--sys/net/netisr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/net/netisr.c b/sys/net/netisr.c
index ecf234174d4..7b6475be1b8 100644
--- a/sys/net/netisr.c
+++ b/sys/net/netisr.c
@@ -20,7 +20,6 @@
#include <machine/intr.h>
-#include "ether.h"
#include "ppp.h"
#include "bridge.h"
#include "pppoe.h"
@@ -39,10 +38,6 @@ netintr(void *unused)
while ((n = netisr) != 0) {
atomic_clearbits_int(&netisr, n);
-#if NETHER > 0
- if (n & (1 << NETISR_ARP))
- arpintr();
-#endif
if (n & (1 << NETISR_IP))
ipintr();
#ifdef INET6