diff options
author | Ruslan Bilovol <ruslan.bilovol@ti.com> | 2012-07-31 17:30:34 +0300 |
---|---|---|
committer | Dmytro Kedrovskyi <x0169235@ti.com> | 2012-08-08 20:16:59 +0300 |
commit | 6b67035734f91d50bf8f1a5a8e6956247fe2182c (patch) | |
tree | 4ef1da6cd7531af9018933859500be2c45ad55a3 /drivers/remoteproc | |
parent | 2d343dcecb3bab6cfc919e99669d42b79058d4e9 (diff) | |
download | kernel_samsung_espresso10-6b67035734f91d50bf8f1a5a8e6956247fe2182c.zip kernel_samsung_espresso10-6b67035734f91d50bf8f1a5a8e6956247fe2182c.tar.gz kernel_samsung_espresso10-6b67035734f91d50bf8f1a5a8e6956247fe2182c.tar.bz2 |
net: usbnet: limit 'tx' and 'done' queue size
The dev->done queue size was not controlled
Thus under heavy load (usually UDP transfers)
if upper layer reads the data from this queue
slowly, it may be increased to fatal size, eating
all accessible memory.
Now the 'done' queue size is limited by RX_QLEN + TX_QLEN
Change-Id: Ie6253c07d6fa7adfccab3af66c19448c920e42a1
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions