]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/skbuff.h
net: add skb_recycle_check() to enable netdriver skb recycling
[linux-2.6-omap-h63xx.git] / include / linux / skbuff.h
index a19ea43fea027d76ae6a27d22bcc6df6a35a2401..720b688c22b678fd8cde53e3dd7a14f0c8cabbe9 100644 (file)
@@ -383,6 +383,8 @@ static inline struct sk_buff *alloc_skb_fclone(unsigned int size,
        return __alloc_skb(size, priority, 1, -1);
 }
 
+extern int skb_recycle_check(struct sk_buff *skb, int skb_size);
+
 extern struct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src);
 extern struct sk_buff *skb_clone(struct sk_buff *skb,
                                 gfp_t priority);