mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 20:26:25 +00:00
sky2: not random enough
Don't use sky2 to seed random pool beacause the network packet arrival time will not be truly random due to NAPI and interrupt mitigation. Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
This commit is contained in:
parent
39bf4295bb
commit
28a3186019
1 changed files with 1 additions and 2 deletions
|
@ -3243,8 +3243,7 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ | SA_SAMPLE_RANDOM,
|
err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ, DRV_NAME, hw);
|
||||||
DRV_NAME, hw);
|
|
||||||
if (err) {
|
if (err) {
|
||||||
printk(KERN_ERR PFX "%s: cannot assign irq %d\n",
|
printk(KERN_ERR PFX "%s: cannot assign irq %d\n",
|
||||||
pci_name(pdev), pdev->irq);
|
pci_name(pdev), pdev->irq);
|
||||||
|
|
Loading…
Reference in a new issue