diff options
author | Thomas Tai <thomas.tai@oracle.com> | 2017-05-15 10:51:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-15 15:36:08 -0400 |
commit | b18e5e86b44be0dca399d8e2383f97c8077392ce (patch) | |
tree | 6d149c41a4d8f9d1a6912c69f9678737812e7b0f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ca9df7ede41afd006d74fd6f09f36d909d0eaad7 (diff) | |
download | linux-b18e5e86b44be0dca399d8e2383f97c8077392ce.tar.gz linux-b18e5e86b44be0dca399d8e2383f97c8077392ce.tar.bz2 linux-b18e5e86b44be0dca399d8e2383f97c8077392ce.zip |
ldmvsw: unregistering netdev before disable hardware
When running LDom binding/unbinding test, kernel may panic
in ldmvsw_open(). It is more likely that because we're removing
the ldc connection before unregistering the netdev in vsw_port_remove(),
we set up a window of time where one process could be removing the
device while another trying to UP the device. This also sometimes causes
vio handshake error due to opening a device without closing it completely.
We should unregister the netdev before we disable the "hardware".
Orabug: 25980913, 25925306
Signed-off-by: Thomas Tai <thomas.tai@oracle.com>
Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions