aboutsummaryrefslogtreecommitdiff
path: root/sys/netnatm
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2003-11-08 22:28:40 +0000
committerSam Leffler <sam@FreeBSD.org>2003-11-08 22:28:40 +0000
commit7902224c6bf05f57bba57a72b6d11d4023a84883 (patch)
tree2ce18b56605a2424ffb613d7f2ee4678a34df3a4 /sys/netnatm
parent2d633fc8791456671ec449c23b860987af364ad6 (diff)
Notes
Diffstat (limited to 'sys/netnatm')
-rw-r--r--sys/netnatm/natm.c2
-rw-r--r--sys/netnatm/natm_proto.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c
index 87870b02dc835..b9beb03c2fd60 100644
--- a/sys/netnatm/natm.c
+++ b/sys/netnatm/natm.c
@@ -685,6 +685,8 @@ natmintr(struct mbuf *m)
struct socket *so;
struct natmpcb *npcb;
+ GIANT_REQUIRED;
+
#ifdef DIAGNOSTIC
M_ASSERTPKTHDR(m);
#endif
diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c
index 5848cc89cc265..535262fec905e 100644
--- a/sys/netnatm/natm_proto.c
+++ b/sys/netnatm/natm_proto.c
@@ -122,7 +122,7 @@ natm_init(void)
bzero(&natmintrq, sizeof(natmintrq));
natmintrq.ifq_maxlen = natmqmaxlen;
mtx_init(&natmintrq.ifq_mtx, "natm_inq", NULL, MTX_DEF);
- netisr_register(NETISR_NATM, natmintr, &natmintrq);
+ netisr_register(NETISR_NATM, natmintr, &natmintrq, 0);
}
#if defined(__FreeBSD__)