/* We are reconnecting to the backend, due to a suspend/resume, or a backend driver restart. We tear down our netif structure and recreate it, but leave the device-layer structures intact so that this is transparent to the rest of the kernel.  */
static int netfront_resume(struct xenbus_device *dev)
/* We are reconnecting to the backend, due to a suspend/resume, or a backend driver restart. We tear down our netif structure and recreate it, but leave the device-layer structures intact so that this is transparent to the rest of the kernel.  */
static int netfront_resume(struct xenbus_device *dev)
{
	struct netfront_info *info = dev_get_drvdata(&dev->dev);
	dev_dbg(&dev->dev, "%s\n", dev->nodename);
	xennet_disconnect_backend(info);
	return 0;
}