summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
diff options
context:
space:
mode:
authorPhilipp Buehler <pb@cvs.openbsd.org>2004-04-28 00:20:48 +0000
committerPhilipp Buehler <pb@cvs.openbsd.org>2004-04-28 00:20:48 +0000
commit1d176de48b78df4837a779fb3098184c833e3d21 (patch)
tree65f892ed9c24a079876fddd0a222aa6a50967e13 /sys/net/if_pfsync.c
parent2b98373c81bfe89360ce74ca4e1b09e54b922615 (diff)
point out that pfsync_send_bus and pfsync_sendout must be called in splnet()
ok mcbride@
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r--sys/net/if_pfsync.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 2ac08a3dbd5..a8b741c727e 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.29 2004/04/25 18:09:30 pb Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.30 2004/04/28 00:20:47 pb Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -1177,6 +1177,7 @@ pfsync_timeout(void *v)
splx(s);
}
+/* This must be called in splnet() */
void
pfsync_send_bus(struct pfsync_softc *sc, u_int8_t status)
{
@@ -1270,6 +1271,7 @@ pfsync_bulkfail(void *v)
}
}
+/* This must be called in splnet() */
int
pfsync_sendout(sc)
struct pfsync_softc *sc;