[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130130.173633.1911213197565689159.davem@davemloft.net>
Date: Wed, 30 Jan 2013 17:36:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: oliver@...kum.org
Cc: bjorn@...k.no, netdev@...r.kernel.org, linux-usb@...r.kernel.org,
joe@...ches.com
Subject: Re: [PATCH net v2] net: usbnet: prevent buggy devices from killing
us
From: Oliver Neukum <oliver@...kum.org>
Date: Wed, 30 Jan 2013 08:44:35 +0100
> On Tuesday 29 January 2013 10:51:28 Bjørn Mork wrote:
>> A device sending 0 length frames as fast as it can has been
>> observed killing the host system due to the resulting memory
>> pressure.
>>
>> Temporarily disable RX skb allocation and URB submission when
>> the current error ratio is high, preventing us from trying to
>> allocate an infinite number of skbs. Reenable as soon as we
>> are finished processing the done queue, allowing the device
>> to continue working after short error bursts.
>>
>> Signed-off-by: Bjørn Mork <bjorn@...k.no>
> Acked-by: Oliver Neukum <oneukum@...e.de>
Applied, thanks.
--
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