Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/6ee6493cfa44
branches:  netbsd-7-0
changeset: 801346:6ee6493cfa44
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Aug 09 06:35:37 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 fd6718602573 -r 6ee6493cfa44 sys/dev/usb/if_ural.c
--- a/sys/dev/usb/if_ural.c     Wed Aug 09 06:31:33 2017 +0000
+++ b/sys/dev/usb/if_ural.c     Wed Aug 09 06:35:37 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.16.1 2017/08/09 06:35:37 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.16.1 2017/08/09 06:35:37 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