diff options
author | 2019-11-01 22:23:53 +0800 | |
---|---|---|
committer | 2019-11-03 17:18:04 -0800 | |
commit | 4c76bf696a608ea5cc555fe97ec59a9033236604 (patch) | |
tree | f7d5dd77dc5c344362c854fa54a53a5e7d8f1c9f /include/net/dsa.h | |
parent | net: openvswitch: fix possible memleak on destroy flow-table (diff) | |
download | wireguard-linux-4c76bf696a608ea5cc555fe97ec59a9033236604.tar.xz wireguard-linux-4c76bf696a608ea5cc555fe97ec59a9033236604.zip |
net: openvswitch: don't unlock mutex when changing the user_features fails
Unlocking of a not locked mutex is not allowed.
Other kernel thread may be in critical section while
we unlock it because of setting user_feature fail.
Fixes: 95a7233c4 ("net: openvswitch: Set OvS recirc_id from tc chain index")
Cc: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions