X-Git-Url: http://pileus.org/git/?p=~andy%2Flinux;a=blobdiff_plain;f=include%2Flinux%2Fskbuff.h;fp=include%2Flinux%2Fskbuff.h;h=15ede6a823a6e2daa366551cd7bad13ac3dd5c03;hp=5e1e6f2d98c2ae5b45b8a3ec5565eb793e840a68;hb=49d8137a4039c63c834827f4bfe875e27bb9c521;hpb=bc53267e97e4942e7f22c31cd8cf87840796accb diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 5e1e6f2d98c..15ede6a823a 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -2451,8 +2451,8 @@ int skb_splice_bits(struct sk_buff *skb, unsigned int offset, unsigned int flags); void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to); unsigned int skb_zerocopy_headlen(const struct sk_buff *from); -void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from, - int len, int hlen); +int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, + int len, int hlen); void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len); int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen); void skb_scrub_packet(struct sk_buff *skb, bool xnet);