diff options
author | Wei Yongjun <[email protected]> | 2021-11-29 15:16:52 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-11-29 20:20:34 -0800 |
commit | 1a59c9c55585e1ec5b352d31b3f8402f196eae94 (patch) | |
tree | a808bbca7b8a56cc3702520c1b7c5132f34e43be /scripts/gdb/linux/proc.py | |
parent | 5fdc2333e6c3e7ef8b98295024bef27f8edf9202 (diff) |
net: mscc: ocelot: fix missing unlock on error in ocelot_hwstamp_set()
Add the missing mutex_unlock before return from function
ocelot_hwstamp_set() in the ocelot_setup_ptp_traps() error
handling case.
Fixes: 96ca08c05838 ("net: mscc: ocelot: set up traps for PTP packets")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions