]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
stmmac: release tx lock, in case of dma mapping error.
authorFabrice Gasnier <fabrice.gasnier@st.com>
Tue, 4 Nov 2014 16:08:06 +0000 (17:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:22:56 +0000 (16:22 -0500)
commit758a0ab59b9bed75d8c8fcaed3cb41f10a586793
tree29977d24397ce706b09fdd4551230befb448095d
parent16ee817e4365cdfe665ae8d6f6bc8f09befa1272
stmmac: release tx lock, in case of dma mapping error.

Add missing spin_unlock when tx frames gets dropped.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c