git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
net
/
sched
/
ipt.c
diff --git
a/net/sched/ipt.c
b/net/sched/ipt.c
index
886f463
..
b114d99
100644
(file)
--- a/
net/sched/ipt.c
+++ b/
net/sched/ipt.c
@@
-284,10
+284,12
@@
tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
tm.lastuse = jiffies_to_clock_t(jiffies - p->tm.lastuse);
tm.expires = jiffies_to_clock_t(p->tm.expires);
RTA_PUT(skb, TCA_IPT_TM, sizeof (tm), &tm);
+ kfree(t);
return skb->len;
rtattr_failure:
skb_trim(skb, b - skb->data);
+ kfree(t);
return -1;
}