Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Free the RX list if ural_alloc_rx_list fails par...
details: https://anonhg.NetBSD.org/src/rev/c223407a75e0
branches: trunk
changeset: 355383:c223407a75e0
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jul 28 13:23:01 2017 +0000
description:
Free the RX list if ural_alloc_rx_list fails part way through.
Reported by Ilja Van Sprundel.
diffstat:
sys/dev/usb/if_ural.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r eb7c624add03 -r c223407a75e0 sys/dev/usb/if_ural.c
--- a/sys/dev/usb/if_ural.c Fri Jul 28 12:28:48 2017 +0000
+++ b/sys/dev/usb/if_ural.c Fri Jul 28 13:23:01 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ural.c,v 1.51 2016/11/25 12:56:29 skrll Exp $ */
+/* $NetBSD: if_ural.c,v 1.52 2017/07/28 13:23:01 skrll Exp $ */
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/usb/if_ural.c,v 1.40 2006/06/02 23:14:40 sam Exp $ */
/*-
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.51 2016/11/25 12:56:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.52 2017/07/28 13:23:01 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -652,7 +652,7 @@
return 0;
-fail: ural_free_tx_list(sc);
+fail: ural_free_rx_list(sc);
return error;
}
Home |
Main Index |
Thread Index |
Old Index