Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix building umb(4) on NetBSD-current
details: https://anonhg.NetBSD.org/src/rev/972dd1341439
branches: trunk
changeset: 365127:972dd1341439
user: khorben <khorben%NetBSD.org@localhost>
date: Wed Aug 01 18:27:58 2018 +0000
description:
Fix building umb(4) on NetBSD-current
Patch by Robert Swindells; thank you!
diffstat:
sys/dev/usb/if_umb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 76c10ef765e7 -r 972dd1341439 sys/dev/usb/if_umb.c
--- a/sys/dev/usb/if_umb.c Wed Aug 01 17:28:42 2018 +0000
+++ b/sys/dev/usb/if_umb.c Wed Aug 01 18:27:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_umb.c,v 1.3 2018/08/01 12:36:56 khorben Exp $ */
+/* $NetBSD: if_umb.c,v 1.4 2018/08/01 18:27:58 khorben Exp $ */
/* $OpenBSD: if_umb.c,v 1.18 2018/02/19 08:59:52 mpi Exp $ */
/*
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_umb.c,v 1.3 2018/08/01 12:36:56 khorben Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_umb.c,v 1.4 2018/08/01 18:27:58 khorben Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -923,7 +923,7 @@
}
IFQ_DEQUEUE(&ifp->if_snd, m_head);
- bpf_mtap(ifp, m_head);
+ bpf_mtap(ifp, m_head, BPF_D_OUT);
ifp->if_flags |= IFF_OACTIVE;
ifp->if_timer = (2 * umb_xfer_tout) / 1000;
Home |
Main Index |
Thread Index |
Old Index