Skip to content
Commit a65878d6 authored by Eelco Chaudron's avatar Eelco Chaudron Committed by David S. Miller
Browse files

net: openvswitch: fixes potential deadlock in dp cleanup code



The previous patch introduced a deadlock, this patch fixes it by making
sure the work is canceled without holding the global ovs lock. This is
done by moving the reorder processing one layer up to the netns level.

Fixes: eac87c41 ("net: openvswitch: reorder masks array based on usage")
Reported-by: default avatar <syzbot+2c4ff3614695f75ce26c@syzkaller.appspotmail.com>
Reported-by: default avatar <syzbot+bad6507e5db05017b008@syzkaller.appspotmail.com>
Reviewed-by: default avatarPaolo <pabeni@redhat.com>
Signed-off-by: default avatarEelco Chaudron <echaudro@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dfd3d526
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment