summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-02-18 15:16:18 +0100
committerPatrick McHardy <kaber@trash.net>2009-02-18 15:16:18 +0100
commit4667ba15119fea265b79502a019a2e75b8c9dfe1 (patch)
tree1df39006489a48bb575200f41e11895cba915238 /include/linux
parent5955c7a2cfb6a35429adea5dc480002b15ca8cfc (diff)
parent92a0acce186cde8ead56c6915d9479773673ea1a (diff)
downloadop-kernel-dev-4667ba15119fea265b79502a019a2e75b8c9dfe1.zip
op-kernel-dev-4667ba15119fea265b79502a019a2e75b8c9dfe1.tar.gz
Merge branch 'master' of /repos/git/net-2.6
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/skbuff.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index cf2cb50..9dcf956 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -416,15 +416,6 @@ extern void skb_over_panic(struct sk_buff *skb, int len,
void *here);
extern void skb_under_panic(struct sk_buff *skb, int len,
void *here);
-extern void skb_truesize_bug(struct sk_buff *skb);
-
-static inline void skb_truesize_check(struct sk_buff *skb)
-{
- int len = sizeof(struct sk_buff) + skb->len;
-
- if (unlikely((int)skb->truesize < len))
- skb_truesize_bug(skb);
-}
extern int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb,
int getfrag(void *from, char *to, int offset,
OpenPOWER on IntegriCloud