Re: [RFC PATCH 34/35] Add the Xen virtual network device driver.

From: Keir Fraser
Date: Tue May 09 2006 - 16:30:39 EST



On 9 May 2006, at 21:25, Stephen Hemminger wrote:

+ memcpy(netdev->dev_addr, info->mac, ETH_ALEN);
+ network_connect(netdev);
+ info->irq = bind_evtchn_to_irqhandler(
+ info->evtchn, netif_int, SA_SAMPLE_RANDOM,
netdev->name,


This doesn't look like a real random entropy source. packets
arriving from another domain are easily timed.

Where should we get our entropy from in a VM environment? Leaving the pool empty can cause processes to hang.

-- Keir

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/