]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 21 Jan 2013 04:19:36 +0000 (23:19 -0500)
commite0eae61daf42f781205131c9a98ad8c58395466e
tree6d5d870889eace5924999667c47b0464bb1a3b0c
parent4ac7ba5447318363d9e09b3e3e628ab7ff242fba
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