summaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r--net/core/skbuff.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index e5a8351ff12d..33640d99c8ed 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -146,14 +146,6 @@ void skb_under_panic(struct sk_buff *skb, int sz, void *here)
}
EXPORT_SYMBOL(skb_under_panic);
-void skb_truesize_bug(struct sk_buff *skb)
-{
- WARN(net_ratelimit(), KERN_ERR "SKB BUG: Invalid truesize (%u) "
- "len=%u, sizeof(sk_buff)=%Zd\n",
- skb->truesize, skb->len, sizeof(struct sk_buff));
-}
-EXPORT_SYMBOL(skb_truesize_bug);
-
/* Allocate a new skbuff. We do this ourselves so we can fill in a few
* 'private' fields and also do memory statistics to find all the
* [BEEP] leaks.
OpenPOWER on IntegriCloud