From: Adrian Bunk skb_over_panic() can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- include/linux/skbuff.h | 2 -- net/core/skbuff.c | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff -puN include/linux/skbuff.h~net-uninline-skb_put-fix include/linux/skbuff.h --- a/include/linux/skbuff.h~net-uninline-skb_put-fix +++ a/include/linux/skbuff.h @@ -365,8 +365,6 @@ extern struct sk_buff *skb_copy_expand(c gfp_t priority); extern int skb_pad(struct sk_buff *skb, int pad); #define dev_kfree_skb(a) kfree_skb(a) -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); diff -puN net/core/skbuff.c~net-uninline-skb_put-fix net/core/skbuff.c --- a/net/core/skbuff.c~net-uninline-skb_put-fix +++ a/net/core/skbuff.c @@ -84,7 +84,7 @@ static struct kmem_cache *skbuff_fclone_ * * Out of line support code for skb_put(). Not user callable. */ -void skb_over_panic(struct sk_buff *skb, int sz, void *here) +static void skb_over_panic(struct sk_buff *skb, int sz, void *here) { printk(KERN_EMERG "skb_over_panic: text:%p len:%d put:%d head:%p " "data:%p tail:%p end:%p dev:%s\n", @@ -2096,7 +2096,6 @@ EXPORT_SYMBOL(skb_copy_and_csum_bits); EXPORT_SYMBOL(skb_copy_and_csum_dev); EXPORT_SYMBOL(skb_copy_bits); EXPORT_SYMBOL(skb_copy_expand); -EXPORT_SYMBOL(skb_over_panic); EXPORT_SYMBOL(skb_pad); EXPORT_SYMBOL(skb_realloc_headroom); EXPORT_SYMBOL(skb_under_panic); _