Skip to content
Commit b3f911b1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Yongxin Liu
Browse files

stmmac: intel: unlock on error path in intel_crosststamp()



commit 53e35ebb upstream.

We recently added some new locking to this function but one error path
was overlooked.  We need to drop the lock before returning.

Fixes: f4da5652 ("net: stmmac: Add support for external trigger timestamping")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarWong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent d129933e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment