diff options
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 8 |
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) | |||
146 | } | 146 | } |
147 | EXPORT_SYMBOL(skb_under_panic); | 147 | EXPORT_SYMBOL(skb_under_panic); |
148 | 148 | ||
149 | void skb_truesize_bug(struct sk_buff *skb) | ||
150 | { | ||
151 | WARN(net_ratelimit(), KERN_ERR "SKB BUG: Invalid truesize (%u) " | ||
152 | "len=%u, sizeof(sk_buff)=%Zd\n", | ||
153 | skb->truesize, skb->len, sizeof(struct sk_buff)); | ||
154 | } | ||
155 | EXPORT_SYMBOL(skb_truesize_bug); | ||
156 | |||
157 | /* Allocate a new skbuff. We do this ourselves so we can fill in a few | 149 | /* Allocate a new skbuff. We do this ourselves so we can fill in a few |
158 | * 'private' fields and also do memory statistics to find all the | 150 | * 'private' fields and also do memory statistics to find all the |
159 | * [BEEP] leaks. | 151 | * [BEEP] leaks. |