Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84857
b: refs/heads/master
c: 04f217a
h: refs/heads/master
i:
  84855: 1c2ae7e
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 8, 2008
1 parent a2dd331 commit 9700021
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e881a217bd1403960eb8f32297ba9d226c6d5ae
refs/heads/master: 04f217aca4d803fe72c2c54fe460d68f5233ce52
10 changes: 6 additions & 4 deletions trunk/net/sched/em_meta.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,11 +735,13 @@ static int em_meta_match(struct sk_buff *skb, struct tcf_ematch *m,

static inline void meta_delete(struct meta_match *meta)
{
struct meta_type_ops *ops = meta_type_ops(&meta->lvalue);
if (meta) {
struct meta_type_ops *ops = meta_type_ops(&meta->lvalue);

if (ops && ops->destroy) {
ops->destroy(&meta->lvalue);
ops->destroy(&meta->rvalue);
if (ops && ops->destroy) {
ops->destroy(&meta->lvalue);
ops->destroy(&meta->rvalue);
}
}

kfree(meta);
Expand Down

0 comments on commit 9700021

Please sign in to comment.