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 previous.
details: https://anonhg.NetBSD.org/src/rev/460d01264dd2
branches: trunk
changeset: 448634:460d01264dd2
user: rin <rin%NetBSD.org@localhost>
date: Wed Feb 06 07:59:24 2019 +0000
description:
Fix previous.
diffstat:
sys/dev/usb/if_axen.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 94743acab4b2 -r 460d01264dd2 sys/dev/usb/if_axen.c
--- a/sys/dev/usb/if_axen.c Wed Feb 06 07:56:42 2019 +0000
+++ b/sys/dev/usb/if_axen.c Wed Feb 06 07:59:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axen.c,v 1.29 2019/02/06 07:56:14 rin Exp $ */
+/* $NetBSD: if_axen.c,v 1.30 2019/02/06 07:59:24 rin Exp $ */
/* $OpenBSD: if_axen.c,v 1.3 2013/10/21 10:10:22 yuo Exp $ */
/*
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.29 2019/02/06 07:56:14 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axen.c,v 1.30 2019/02/06 07:59:24 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1047,7 +1047,7 @@
hdr_offset = (uint16_t)(rx_hdr >> 16);
pkt_count = (uint16_t)(rx_hdr & 0xffff);
- if (total_len > sc->axen_bufsz) {
+ if (total_len > sc->axen_rx_bufsz) {
aprint_error_dev(sc->axen_dev, "rxeof: too large transfer\n");
goto done;
}
Home |
Main Index |
Thread Index |
Old Index