[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070418.154416.131918019.davem@davemloft.net>
Date: Wed, 18 Apr 2007 15:44:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: erik@...land.org
Cc: netdev@...r.kernel.org, trivial@...nel.org
Subject: Re: [PATCH] Make dev_kfree_skb_any check if the skb is valid
From: Erik Hovland <erik@...land.org>
Date: Wed, 18 Apr 2007 15:33:44 -0700
> If dev_kfree_skb_any is called and it then calls dev_kfree_skb_irq.
> That call will dereference the skb. If the skb is invalid, down the
> drain we go.
>
> This one-liner checks to see if the skb is valid as part of the
> determination of whether to call dev_kfree_skb_irq.
>
> Signed-off-by: Erik Hovland <erik@...land.org>
This should never be invoked with a NULL skb argument.
Who is doing that?
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists