diff options
author | David S. Miller <davem@davemloft.net> | 2009-02-24 06:50:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-24 06:50:29 -0500 |
commit | e70049b9e74267dd47e1ffa62302073487afcb48 (patch) | |
tree | 2cd000c0751ef31c9044b020d63f278cdf4f332d /net/core/skbuff.c | |
parent | d18921a0e319ab512f8186b1b1142c7b8634c779 (diff) | |
parent | f7e603ad8f78cd3b59e33fa72707da0cbabdf699 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
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. |