]> Git Repo - linux.git/commit
net: splice: avoid high order page splitting
authorEric Dumazet <[email protected]>
Sat, 5 Jan 2013 21:31:18 +0000 (21:31 +0000)
committerDavid S. Miller <[email protected]>
Mon, 7 Jan 2013 05:07:24 +0000 (21:07 -0800)
commit9ca1b22d6d228177e6f929f6818a1cd3d5e30c4a
tree0dfad0c3a33ab51ec4b5859c772a21ce0b50f466
parent81135548e697a24ab41944c4354953a71b0b9efe
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 <[email protected]>
Cc: Willy Tarreau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/core/skbuff.c
This page took 0.057731 seconds and 4 git commands to generate.