]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
moxa: fix missing unlock on error in moxart_mac_start_xmit()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 18 Aug 2013 08:09:30 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 22:05:04 +0000 (15:05 -0700)
commit0aa857f83fe2674f973ad89ec7c0202f5c5d9554
tree5c50ebf98f61473320dbdc086f0f421904472e2d
parent2bc9ff01f1f93da6c36b34dbc7ce7c42f717693e
moxa: fix missing unlock on error in moxart_mac_start_xmit()

Add the missing unlock before return from function moxart_mac_start_xmit()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/moxa/moxart_ether.c