diff options
| author | Cong Wang <[email protected]> | 2013-08-07 16:43:22 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-08-09 11:41:45 -0700 |
| commit | ffbe4a539f69fa3e2f3be74627ca2c830f9d923b (patch) | |
| tree | 3bb4e4ebfe8eb440ff7ee0246103b4acea8fc93b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 614334df2d6dcc5e15eaa8066a649535d50f329b (diff) | |
vxlan: fix a soft lockup in vxlan module removal
This is a regression introduced by:
commit fe5c3561e6f0ac7c9546209f01351113c1b77ec8
Author: stephen hemminger <[email protected]>
Date: Sat Jul 13 10:18:18 2013 -0700
vxlan: add necessary locking on device removal
The problem is that vxlan_dellink(), which is called with RTNL lock
held, tries to flush the workqueue synchronously, but apparently
igmp_join and igmp_leave work need to hold RTNL lock too, therefore we
have a soft lockup!
As suggested by Stephen, probably the flush_workqueue can just be
removed and let the normal refcounting work. The workqueue has a
reference to device and socket, therefore the cleanups should work
correctly.
Suggested-by: Stephen Hemminger <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: David S. Miller <[email protected]>
Tested-by: Cong Wang <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions