mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
net: dsa: ocelot: unlock on error in vsc9959_qos_port_tas_set()
commitcad7526f33upstream. This error path needs call mutex_unlock(&ocelot->tas_lock) before returning. Fixes:2d800bc500("net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f425c44c9a
commit
38f16f0c2c
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue