Subject: Re: [PATCH] kfree_skb() bug in 2.4.22

From: "David S. Miller" <[email-masked]>
Date: Wed, 8 Oct 2003 07:11:59 -0700

On Wed, 08 Oct 2003 10:11:43 -0400
Tobias DiPasquale <[email-masked]> wrote:

> Well, I certainly have done that already ;-) But I have checked kfree()
> and vfree() and they have a sanity check for NULL before processing, as
> well as those are also the well-known semantics for the userspace free()
> call.

So what?  Those are totally different APIs and they in no way determine
how other interfaces should behave.

Passing NULL pointers around usually indicates poorly designed
software anyways (unless the NULL pointer is being returned by
a routine to indicate an allocation failure).

This isn't even worth discussing anymore.