diff options
author | Pavel Fedin <[email protected]> | 2015-11-16 17:51:34 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-11-16 16:24:44 -0500 |
commit | 7750130d93decff06120df0d8ea024ff8a038a21 (patch) | |
tree | acb06327cdf15112241f13b7a45f9a98e0411ef7 /tools/perf/util/trace-event-scripting.c | |
parent | 88ad4175b201ae24be5e9b7752cf33c1306b64e4 (diff) |
net: thunder: Check for driver data in nicvf_remove()
In some cases the crash is caused by nicvf_remove() being called from
outside. For example, if we try to feed the device to vfio after the
probe has failed for some reason. So, move the check to better place.
Signed-off-by: Pavel Fedin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions