netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PKT_SCHED] ematch: tcf_em_destroy robustness
       [not found] <20080208104832.690e140e@extreme>
@ 2008-02-10  7:27 ` David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2008-02-10  7:27 UTC (permalink / raw)
  To: shemminger; +Cc: netdev

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 8 Feb 2008 10:48:32 -0800

> Make the code in tcf_em_tree_destroy more robust and cleaner:
>  * Don't need to cast pointer to kfree() or avoid passing NULL.
>  * After freeing the tree, clear the pointer to avoid possible problems
> from repeated free.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-10  7:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080208104832.690e140e@extreme>
2008-02-10  7:27 ` [PKT_SCHED] ematch: tcf_em_destroy robustness David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).