Module Name: src
Committed By: riz
Date: Tue Mar 8 17:09:13 UTC 2011
Modified Files:
src/sys/dev/usb [netbsd-5]: if_rum.c
Log Message:
Pull up following revision(s) (requested by dholland in ticket #1562):
sys/dev/usb/if_rum.c: revision 1.34
fix typo (clean up the rx list on failure setting it up, not the tx list)
from openbsd -r1.75, mentioned by Alexander Nasonov in PR 42667
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.4.1 src/sys/dev/usb/if_rum.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/if_rum.c
diff -u src/sys/dev/usb/if_rum.c:1.23 src/sys/dev/usb/if_rum.c:1.23.4.1
--- src/sys/dev/usb/if_rum.c:1.23 Tue Oct 21 12:21:46 2008
+++ src/sys/dev/usb/if_rum.c Tue Mar 8 17:09:13 2011
@@ -1,5 +1,5 @@
/* $OpenBSD: if_rum.c,v 1.40 2006/09/18 16:20:20 damien Exp $ */
-/* $NetBSD: if_rum.c,v 1.23 2008/10/21 12:21:46 jun Exp $ */
+/* $NetBSD: if_rum.c,v 1.23.4.1 2011/03/08 17:09:13 riz Exp $ */
/*-
* Copyright (c) 2005-2007 Damien Bergamini <[email protected]>
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.23 2008/10/21 12:21:46 jun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.23.4.1 2011/03/08 17:09:13 riz Exp $");
#include "bpfilter.h"
@@ -629,7 +629,7 @@
return 0;
-fail: rum_free_tx_list(sc);
+fail: rum_free_rx_list(sc);
return error;
}