[PATCH] net: thunder: Check for driver data in nicvf_remove()

2015-11-16 Thread Pavel Fedin
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 ---

Re: [PATCH] net: thunder: Check for driver data in nicvf_remove()

2015-11-16 Thread David Miller
From: Pavel Fedin Date: Mon, 16 Nov 2015 17:51:34 +0300 > 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. > >