kmem_cache_alloc() already unconditionally performs this check. 25-akpm/net/core/skbuff.c | 3 --- 1 files changed, 3 deletions(-) diff -puN net/core/skbuff.c~alloc_skb-remove-debug-check net/core/skbuff.c --- 25/net/core/skbuff.c~alloc_skb-remove-debug-check Tue May 6 16:06:02 2003 +++ 25-akpm/net/core/skbuff.c Tue May 6 16:06:08 2003 @@ -126,9 +126,6 @@ struct sk_buff *alloc_skb(unsigned int s struct sk_buff *skb; u8 *data; - if (gfp_mask & __GFP_WAIT) - might_sleep(); - /* Get the HEAD */ skb = kmem_cache_alloc(skbuff_head_cache, gfp_mask & ~__GFP_DMA); _