Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/3ecad7fb1bb3
branches:  netbsd-7-1
changeset: 800760:3ecad7fb1bb3
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Aug 09 06:35:16 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 cf328b7a4bc0 -r 3ecad7fb1bb3 sys/dev/usb/if_ural.c
--- a/sys/dev/usb/if_ural.c     Wed Aug 09 06:32:22 2017 +0000
+++ b/sys/dev/usb/if_ural.c     Wed Aug 09 06:35:16 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ural.c,v 1.44 2013/01/22 12:40:43 jmcneill Exp $ */
+/*     $NetBSD: if_ural.c,v 1.44.20.1 2017/08/09 06:35:16 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 2013/01/22 12:40:43 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.44.20.1 2017/08/09 06:35:16 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/sockio.h>
@@ -674,7 +674,7 @@
 
        return 0;
 
-fail:  ural_free_tx_list(sc);
+fail:  ural_free_rx_list(sc);
        return error;
 }
 



Home | Main Index | Thread Index | Old Index