net: splice: fix __splice_segment()
authorEric Dumazet <edumazet@google.com>
Fri, 11 Jan 2013 14:46:37 +0000 (14:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jan 2013 00:48:08 +0000 (16:48 -0800)
commit18aafc622abf492809723d9c5a3c5dcea287169e
tree870c5204b43f76b29bb4ea4468218a70c0d73384
parentfb0174723e578f9023f1237143fb81e75f470f60
net: splice: fix __splice_segment()

commit 9ca1b22d6d2 (net: splice: avoid high order page splitting)
forgot that skb->head could need a copy into several page frags.

This could be the case for loopback traffic mostly.

Also remove now useless skb argument from linear_to_page()
and __splice_segment() prototypes.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c