commit | 50f1cb1cc8f50fa88dbeaf990ae2bae91b9ff306 | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Fri May 16 21:48:26 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 16 22:39:02 2014 -0400 |
tree | 9210c226f517b80fae8c4762ec30d0b1a3996ea3 | |
parent | beeecd42c3b41d17d0bf1d839db99274c287f514 [diff] |
net: cdc_ncm: use sane defaults for rx/tx buffers Lots of devices request much larger buffers than reasonable. This cause real problems for users of hosts with limited resources. Reducing the default buffer size to 16kB for such devices is a reasonable trade-off between allowing them to aggregate traffic and avoiding memory exhaustion on resource restrained hosts. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>