Skip to contentSkip to conversation

ematch: tcf_em_destroy robustness

PKT_SCHED David Miller 1 participant 1 message Feb 10, 2008 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20080208104832.690e140e@extreme

David Miller

author maintainer Applied
#1 lore raw

From: Stephen Hemminger <[email protected]>
Date: Fri, 8 Feb 2008 10:48:32 -0800

Quoted 6 lines

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.

Applied, thanks.