Module Name: src
Committed By: msaitoh
Date: Wed Feb 4 03:17:29 UTC 2015
Modified Files:
src/sys/dev/pci/ixgbe: ixgbe.c
Log Message:
Add missing IXGBE_RX_LOCK_DESTROY() for the detach path.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/ixgbe/ixgbe.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/pci/ixgbe/ixgbe.c
diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.15 src/sys/dev/pci/ixgbe/ixgbe.c:1.16
--- src/sys/dev/pci/ixgbe/ixgbe.c:1.15 Tue Jan 13 03:11:34 2015
+++ src/sys/dev/pci/ixgbe/ixgbe.c Wed Feb 4 03:17:29 2015
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/
-/*$NetBSD: ixgbe.c,v 1.15 2015/01/13 03:11:34 msaitoh Exp $*/
+/*$NetBSD: ixgbe.c,v 1.16 2015/02/04 03:17:29 msaitoh Exp $*/
#include "opt_inet.h"
@@ -4226,6 +4226,7 @@ ixgbe_free_receive_structures(struct ada
#endif /* LRO */
/* Free the ring memory as well */
ixgbe_dma_free(adapter, &rxr->rxdma);
+ IXGBE_RX_LOCK_DESTROY(rxr);
}
free(adapter->rx_rings, M_DEVBUF);