]> git.baikalelectronics.ru Git - kernel.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)
commit1247728854dddb7136c90b6db1c42447a6a16385
tree5c50ebf98f61473320dbdc086f0f421904472e2d
parentf53364ce4f79f009e14096ef764f59d679d96352
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