summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-10-16 18:05:42 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-10-16 18:05:42 +0000
commit39784e0730e1d1a90e31873e3d7e881875c52aa3 (patch)
tree9da90065a1fed2369058486ac3f5d6626246928c /sys/net/bpf.c
parent30e0f4136d8d0b1c270cb8bf2e1a1d9f12c117c2 (diff)
Fix bpf_catchpacket comment.
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index bd85d5e1a77..7d57ad11857 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.149 2016/09/12 16:24:37 krw Exp $ */
+/* $OpenBSD: bpf.c,v 1.150 2016/10/16 18:05:41 jca Exp $ */
/* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */
/*
@@ -1343,8 +1343,8 @@ bpf_mtap_ether(caddr_t arg, const struct mbuf *m, u_int direction)
/*
* Move the packet data from interface memory (pkt) into the
- * store buffer. Return 1 if it's time to wakeup a listener (buffer full),
- * otherwise 0. "copy" is the routine called to do the actual data
+ * store buffer. Wake up listeners if needed.
+ * "copy" is the routine called to do the actual data
* transfer. bcopy is passed in to copy contiguous chunks, while
* bpf_mcopy is passed in to copy mbuf chains. In the latter case,
* pkt is really an mbuf.