Commit 1e2c611
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>1 parent e289fd2 commit 1e2c611
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
1292 | | - | |
| 1292 | + | |
| 1293 | + | |
1293 | 1294 | | |
1294 | 1295 | | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
| 1296 | + | |
1298 | 1297 | | |
1299 | 1298 | | |
1300 | 1299 | | |
| |||
0 commit comments