Thread (1 message) 1 message, 1 author, 2008-02-10

Re: [PKT_SCHED] ematch: tcf_em_destroy robustness

From: David Miller <davem@davemloft.net>
Date: 2008-02-10 07:26:30

From: Stephen Hemminger <redacted>
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 <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help