diff options
author | Bjørn Mork <bjorn@mork.no> | 2014-05-30 09:31:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-02 16:01:30 -0700 |
commit | 1e2c611723420789e6098534fc0c57f12ee041b7 (patch) | |
tree | fd8e55976feb4830c5856df3386460ccafa8a0a3 /security | |
parent | macvlan: fix the problem when mac address changes for passthru mode (diff) | |
download | linux-1e2c61172342.tar.gz linux-1e2c61172342.tar.bz2 linux-1e2c61172342.zip |
net: cdc_ncm: reduce skb truesize in rx path
Cloning the big skbs we use for USB buffering chokes up TCP and
SCTP because the socket memory limits are hitting earlier than
they should. It is better to unconditionally copy the unwrapped
packets to freshly allocated skbs.
Reported-by: Jim Baxter <jim_baxter@mentor.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions