On Thu, Feb 23, 2006 at 07:53:36AM +0100, J?rn Engel wrote:
> 
> How is that argument special for kfree_skb?  Both libc free and kfree
> ignore NULL arguments and do so for good reasons.

Well with kfree there is actually a slight gain in that you are doing
the check in one place.

kfree_skb on the other hand is inlined so the you're actually adding
bloat to many places that simply don't need it.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to