diff options
author | Eric Dumazet <edumazet@google.com> | 2013-01-06 01:31:18 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-21 08:19:35 +0400 |
commit | 82bda6195615891181115f579a480aa5001ce7e9 (patch) | |
tree | 6eab0263d72c665460d64243afeb64905106b8fd /net/core/netevent.c | |
parent | b74aa930ef49a3c0d8e4c1987f89decac768fb2c (diff) | |
download | linux-82bda6195615891181115f579a480aa5001ce7e9.tar.xz |
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 'net/core/netevent.c')
0 files changed, 0 insertions, 0 deletions