aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-02-27 10:03:22 +0000
committerPaolo Abeni <[email protected]>2023-02-28 11:40:12 +0000
commit8f9850dd8d23c1290cb642ce9548a440da5771ec (patch)
tree0478b553e3c5f5376d2cce31d73a541a2750ffb7 /net/unix/af_unix.c
parentnfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_pro... (diff)
downloadkernel-8f9850dd8d23c1290cb642ce9548a440da5771ec.tar.gz
kernel-8f9850dd8d23c1290cb642ce9548a440da5771ec.zip
net: phy: unlock on error in phy_probe()
If genphy_c45_read_eee_adv() fails then we need to do a reset and unlock the &phydev->lock mutex before returning. Fixes: 3eeca4e199ce ("net: phy: do not force EEE support") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Oleksij Rempel <[email protected]> Link: https://lore.kernel.org/r/Y/x/6kHCjnQHqOpF@kili Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions