Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/d4e57e04fa2d
branches:  netbsd-8
changeset: 850895:d4e57e04fa2d
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Aug 01 23:28:41 2017 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #169):
        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 df385d65aaa0 -r d4e57e04fa2d sys/dev/usb/if_ural.c
--- a/sys/dev/usb/if_ural.c     Tue Aug 01 23:26:58 2017 +0000
+++ b/sys/dev/usb/if_ural.c     Tue Aug 01 23:28:41 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.51.8.1 2017/08/01 23:28:41 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.51 2016/11/25 12:56:29 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.51.8.1 2017/08/01 23:28:41 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