diff options
author | 2013-09-12 10:28:03 +0000 | |
---|---|---|
committer | 2013-09-12 10:28:03 +0000 | |
commit | a9ae685ef59d3d979087a0d5af61141ca644b6a6 (patch) | |
tree | 558ca5d046a2f017012429a89dea0fd7614c07cb | |
parent | Revert previous diff to always increment the interface index, tun_switch() (diff) | |
download | wireguard-openbsd-a9ae685ef59d3d979087a0d5af61141ca644b6a6.tar.xz wireguard-openbsd-a9ae685ef59d3d979087a0d5af61141ca644b6a6.zip |
add a missing bus_dmamap_unload in the rx completion path.
-rw-r--r-- | sys/arch/armv7/omap/if_cpsw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/armv7/omap/if_cpsw.c b/sys/arch/armv7/omap/if_cpsw.c index 0081af25d78..e6f5b9f27b5 100644 --- a/sys/arch/armv7/omap/if_cpsw.c +++ b/sys/arch/armv7/omap/if_cpsw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cpsw.c,v 1.17 2013/09/12 04:42:03 dlg Exp $ */ +/* $OpenBSD: if_cpsw.c,v 1.18 2013/09/12 10:28:03 dlg Exp $ */ /* $NetBSD: if_cpsw.c,v 1.3 2013/04/17 14:36:34 bouyer Exp $ */ /* @@ -1040,6 +1040,7 @@ cpsw_rxintr(void *arg) bus_dmamap_sync(sc->sc_bdt, dm, 0, dm->dm_mapsize, BUS_DMASYNC_POSTREAD); + bus_dmamap_unload(sc->sc_bdt, dm); if (cpsw_new_rxbuf(sc, i) != 0) { /* drop current packet, reuse buffer for new */ |