Skip to content
Commit a7c22bda authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

net: macb: fix missing unlock on error in macb_start_xmit()



Fix missing unlock before return from function macb_start_xmit()
in the error handling case.

Fixes: 007e4ba3 ("net: macb: initialize checksum when using
checksum offloading")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 99c1790e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment