[ovs-dev] [PATCH net-next v6 09/10] net: openvswitch: don't unlock mutex when changing the user_features fails

Pravin Shelar pshelar at ovn.org
Sun Nov 3 06:47:48 UTC 2019


On Fri, Nov 1, 2019 at 7:24 AM <xiangxia.m.yue at gmail.com> wrote:
>
> From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
>
> 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 at mellanox.com>
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Tested-by: Greg Rose <gvrose8192 at gmail.com>
> Acked-by: William Tu <u9012063 at gmail.com>
> ---
Acked-by: Pravin B Shelar <pshelar at ovn.org>


More information about the dev mailing list