commit | 1e2c611723420789e6098534fc0c57f12ee041b7 | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Fri May 30 09:31:03 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 02 16:01:30 2014 -0700 |
tree | fd8e55976feb4830c5856df3386460ccafa8a0a3 | |
parent | e289fd28176b78de7e54bf6c8e2b558afefaf6df [diff] |
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>