aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-11-02 19:04:10 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-03 10:44:05 -0700
commit30356d08159d7899438e94503ae322a8b881e205 (patch)
treedf4aaea6626e6a7367f782ebd43f3223f1f01b95 /tools/perf/scripts/python/stackcollapse.py
parentbd74a7f9cc033cf4d405788f80292268987dc0c5 (diff)
s390/qeth: unregister netdevice only when registered
qeth only registers its netdevice when the qeth device is first set online. Thus a device that has never been set online will trigger a WARN ("network todo 'hsi%d' but state 0") in unregister_netdev() when removed. Fix this by protecting the unregister step, just like we already protect against repeated registering of the netdevice. Fixes: d3d1b205e89f ("s390/qeth: allocate netdevice early") Reported-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions