X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fcore%2Fskbuff.c;h=e4115672b6cfb1094de109c3fd56db796fc3741b;hb=8c363265d57d755e62053e9f69a1f2164e83f7ea;hp=48a43727d12f80db2a52b838322534855fb53ae5;hpb=2870c43d1795bcb40b12bad6456f07ad8e64b3de;p=linux-2.6 diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 48a43727d1..e4115672b6 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -1332,7 +1332,7 @@ static inline int __splice_segment(struct page *page, unsigned int poff, * Map linear and fragment data from the skb to spd. It reports failure if the * pipe is full or if we already spliced the requested length. */ -int __skb_splice_bits(struct sk_buff *skb, unsigned int *offset, +static int __skb_splice_bits(struct sk_buff *skb, unsigned int *offset, unsigned int *len, struct splice_pipe_desc *spd) {