Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28a31860 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Francois Romieu
Browse files

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: default avatarStephen Hemminger <shemminger@osdl.org>
parent 39bf4295
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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,
			  DRV_NAME, hw);
	err = request_irq(pdev->irq, sky2_intr, SA_SHIRQ, DRV_NAME, hw);
	if (err) {
		printk(KERN_ERR PFX "%s: cannot assign irq %d\n",
		       pci_name(pdev), pdev->irq);