Repository navigation
Commit a65878d
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: eac87c4 ("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>1 parent dfd3d52 commit a65878d
2 files changed
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1655 | 1655 | | |
1656 | 1656 | | |
1657 | 1657 | | |
1658 | | - | |
1659 | 1658 | | |
1660 | 1659 | | |
1661 | 1660 | | |
| |||
1715 | 1714 | | |
1716 | 1715 | | |
1717 | 1716 | | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | 1717 | | |
1722 | 1718 | | |
1723 | 1719 | | |
| |||
1762 | 1758 | | |
1763 | 1759 | | |
1764 | 1760 | | |
1765 | | - | |
1766 | | - | |
1767 | | - | |
1768 | 1761 | | |
1769 | 1762 | | |
1770 | 1763 | | |
| |||
2349 | 2342 | | |
2350 | 2343 | | |
2351 | 2344 | | |
2352 | | - | |
2353 | | - | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
2354 | 2348 | | |
2355 | 2349 | | |
2356 | | - | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
2357 | 2354 | | |
2358 | 2355 | | |
2359 | | - | |
| 2356 | + | |
2360 | 2357 | | |
2361 | 2358 | | |
2362 | 2359 | | |
| |||
2454 | 2451 | | |
2455 | 2452 | | |
2456 | 2453 | | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
2457 | 2457 | | |
2458 | 2458 | | |
2459 | 2459 | | |
| |||
2508 | 2508 | | |
2509 | 2509 | | |
2510 | 2510 | | |
| 2511 | + | |
2511 | 2512 | | |
2512 | 2513 | | |
2513 | 2514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
| |||
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
| 135 | + | |
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
| |||
0 commit comments