summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:14:55 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-11 05:14:55 +0000
commitbe6f9dc2900c4b7bf84fd09e5ef3db75ad1ea36d (patch)
tree17d953e01304d187fd1ab0d58267a2519cd0c123 /sys/netinet
parentce418c43bc5319139ce8b279257d7d5320db633f (diff)
splassert where comments tell us to.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_pcb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index fff4e68b21f..863f8846c04 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.c,v 1.62 2002/06/09 16:26:10 itojun Exp $ */
+/* $OpenBSD: in_pcb.c,v 1.63 2002/06/11 05:13:59 art Exp $ */
/* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */
/*
@@ -563,10 +563,12 @@ in_pcbnotify(table, dst, fport_arg, laddr, lport_arg, errno, notify)
int errno;
void (*notify)(struct inpcb *, int);
{
- register struct inpcb *inp, *oinp;
+ struct inpcb *inp, *oinp;
struct in_addr faddr;
u_int16_t fport = fport_arg, lport = lport_arg;
+ splassert(IPL_SOFTNET);
+
#ifdef INET6
/*
* See in6_pcbnotify() for IPv6 codepath. By the time this