[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080209.232702.197214366.davem@davemloft.net>
Date: Sat, 09 Feb 2008 23:27:02 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PKT_SCHED] ematch: tcf_em_destroy robustness
From: Stephen Hemminger <shemminger@...tta.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@...tta.com>
Applied, thanks.
--
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