diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2022-02-10 16:50:31 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-17 15:21:47 +0000 |
commit | 68c66b0fa3a101841acf163baa2db6f884a4a24d (patch) | |
tree | 46112ad1a495b2f22eedb931aedf6371f874ea69 /target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c | |
parent | b53202a8c3f728c348c5376e5b5fb36af7c37744 (diff) | |
download | upstream-68c66b0fa3a101841acf163baa2db6f884a4a24d.tar.gz upstream-68c66b0fa3a101841acf163baa2db6f884a4a24d.tar.bz2 upstream-68c66b0fa3a101841acf163baa2db6f884a4a24d.zip |
realtek: fix locking issues
Fixe a coupld of locking issues found by applying lock
debugging to the code.
Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c')
-rw-r--r-- | target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c index 4e8bbc00db..4780632983 100644 --- a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c +++ b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c @@ -1409,7 +1409,6 @@ static int rtl83xx_vlan_prepare(struct dsa_switch *ds, int port, priv->r->vlan_set_tagged(1, &info); pr_debug("SET: Tagged ports, VLAN %d: %llx\n", 1, info.tagged_ports); - mutex_unlock(&priv->reg_mutex); return 0; } |