diff options
author | 2013-01-05 21:31:18 +0000 | |
---|---|---|
committer | 2013-01-20 23:19:35 -0500 | |
commit | 82bda6195615891181115f579a480aa5001ce7e9 (patch) | |
tree | 6eab0263d72c665460d64243afeb64905106b8fd /lib/spinlock_debug.c | |
parent | tcp: fix incorrect LOCKDROPPEDICMPS counter (diff) | |
download | linux-dev-82bda6195615891181115f579a480aa5001ce7e9.tar.xz linux-dev-82bda6195615891181115f579a480aa5001ce7e9.zip |
net: splice: avoid high order page splitting
splice() can handle pages of any order, but network code tries hard to
split them in PAGE_SIZE units. Not quite successfully anyway, as
__splice_segment() assumed poff < PAGE_SIZE. This is true for
the skb->data part, not necessarily for the fragments.
This patch removes this logic to give the pages as they are in the skb.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions