Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/dev/usb Pull up following revision(s) (requested by s...



details:   https://anonhg.NetBSD.org/src/rev/dc3d11b23159
branches:  netbsd-7
changeset: 800281:dc3d11b23159
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Aug 09 06:34:53 2017 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1462):
        sys/dev/usb/if_ural.c: revision 1.52
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 f36219d2af58 -r dc3d11b23159 sys/dev/usb/if_ural.c
--- a/sys/dev/usb/if_ural.c     Wed Aug 09 06:32:49 2017 +0000
+++ b/sys/dev/usb/if_ural.c     Wed Aug 09 06:34:53 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ural.c,v 1.44.12.1 2017/04/05 19:54:19 snj Exp $ */
+/*     $NetBSD: if_ural.c,v 1.44.12.2 2017/08/09 06:34:53 snj 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.44.12.1 2017/04/05 19:54:19 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.44.12.2 2017/08/09 06:34:53 snj 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