summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorEelco Chaudron <echaudro@redhat.com>2020-07-24 10:20:59 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-24 16:58:38 -0700
commita65878d6f00bb2d791348ae90dcc2ede1dbe2b91 (patch)
treee0a6f2c668074161bcb86722a03fec039397c3c2 /net/sctp
parentdfd3d5266dc1d9a2b06e5a09bbff4cee547eeb5f (diff)
downloadlinux-a65878d6f00bb2d791348ae90dcc2ede1dbe2b91.tar.gz
linux-a65878d6f00bb2d791348ae90dcc2ede1dbe2b91.tar.bz2
linux-a65878d6f00bb2d791348ae90dcc2ede1dbe2b91.zip
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: eac87c413bf9 ("net: openvswitch: reorder masks array based on usage") Reported-by: syzbot+2c4ff3614695f75ce26c@syzkaller.appspotmail.com Reported-by: syzbot+bad6507e5db05017b008@syzkaller.appspotmail.com Reviewed-by: Paolo <pabeni@redhat.com> Signed-off-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions