diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-02-10 08:26:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-10 08:26:53 +0100 |
commit | 954415e33ed6cfa932c13e8c2460bd05e50723b5 (patch) | |
tree | 6587b63b3d5ba528b446eabf1c6af5134e4c3464 /drivers/isdn | |
parent | [PKT_SCHED]: deinline functions in meta match (diff) | |
download | linux-954415e33ed6cfa932c13e8c2460bd05e50723b5.tar.xz linux-954415e33ed6cfa932c13e8c2460bd05e50723b5.zip |
[PKT_SCHED] ematch: tcf_em_destroy robustness
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions