lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 24 Mar 2008 14:32:49 +0000 (GMT) From: James Simmons <jsimmons@...radead.org> To: Linus Torvalds <torvalds@...l.org> cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org> Subject: [PATCH] add random irq flag to natsemi network driver Please apply this patch. On the embbeded board I work on this is the only entropy source we have. diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 385f69c..c6553dd 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c @@ -1529,7 +1529,8 @@ static int netdev_open(struct net_device *dev) /* Reset the chip, just in case. */ natsemi_reset(dev); - i = request_irq(dev->irq, &intr_handler, IRQF_SHARED, dev->name, dev); + i = request_irq(dev->irq, &intr_handler, IRQF_SHARED | IRQF_SAMPLE_RANDOM, + dev->name, dev); if (i) return i; if (netif_msg_ifup(np)) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists