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: Thu, 24 Jan 2013 12:22:54 +0100 From: Bjørn Mork <bjorn@...k.no> To: Oliver Neukum <oneukum@...e.de> Cc: linux-usb@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [RFC] net: usbnet: prevent buggy devices from killing us Oliver Neukum <oneukum@...e.de> writes: > On Thursday 24 January 2013 11:52:22 Bjørn Mork wrote: >> Oliver Neukum <oneukum@...e.de> writes: >> >> > On Thursday 24 January 2013 11:25:52 Bjørn Mork wrote: >> >> The MBIM firmware for the Sierra Wireless MC7710 is a nice source >> >> of "interesting" device issues. One of the uglier ones is that >> >> it under certain conditions will start flooding us with frames >> >> having length 0 as fast as it can. And that is pretty fast... >> > >> > If you can tell that those frames are bogus, why not count them >> > as opposed to generic qlen? Say, if you see 20 among the last 30 >> > are of this type, throttle. >> >> Sounds like a good idea, but where do I add/get that statistics? > > rx_complete > > It need not be very accurate. Sorry for being daft, but how do I code the "20 among the last 30" part there? Bjørn -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists