summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-05-09 12:54:53 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-05-09 12:54:53 +0000
commit484172a6645a92f07965f0cca522e03920f4760c (patch)
tree2602c2b680f498dd095f00aee6d77393cf79c9e3 /sys
parent7d2781f608897c2eeb83b330e44e299b536026eb (diff)
there was a race between the addition of mpls and tx mitigation. this gives
mpls its own bit in netisr instead of accidentally sharing one with tx mit. "do it" claudio@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/netisr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/netisr.h b/sys/net/netisr.h
index 2b75c7d7ead..4c58d572270 100644
--- a/sys/net/netisr.h
+++ b/sys/net/netisr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netisr.h,v 1.32 2008/05/07 05:51:12 mpf Exp $ */
+/* $OpenBSD: netisr.h,v 1.33 2008/05/09 12:54:52 dlg Exp $ */
/* $NetBSD: netisr.h,v 1.12 1995/08/12 23:59:24 mycroft Exp $ */
/*
@@ -55,6 +55,7 @@
#define NETISR_RND_DONE 1
#define NETISR_IP 2 /* same as AF_INET */
#define NETISR_TX 3 /* for if_snd processing */
+#define NETISR_MPLS 4 /* AF_MPLS would overflow */
#define NETISR_ATALK 16 /* same as AF_APPLETALK */
#define NETISR_ARP 18 /* same as AF_LINK */
#define NETISR_IPV6 24 /* same as AF_INET6 */
@@ -64,7 +65,6 @@
#define NETISR_BRIDGE 29 /* for bridge processing */
#define NETISR_PPPOE 30 /* for pppoe processing */
#define NETISR_BT 31 /* same as AF_BLUETOOTH */
-#define NETISR_MPLS 3 /* XXX AF_MPLS would overflow */
#ifndef _LOCORE
#ifdef _KERNEL