commit | 7750130d93decff06120df0d8ea024ff8a038a21 | [log] [tgz] |
---|---|---|
author | Pavel Fedin <p.fedin@samsung.com> | Mon Nov 16 17:51:34 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 16 16:24:44 2015 -0500 |
tree | acb06327cdf15112241f13b7a45f9a98e0411ef7 | |
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 <p.fedin@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>