projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'asoc/fix/fsl-ssi' and 'asoc/fix/pxa' into asoc-linus
[cascardo/linux.git]
/
net
/
sched
/
sch_choke.c
diff --git
a/net/sched/sch_choke.c
b/net/sched/sch_choke.c
index
2aee028
..
ed30e43
100644
(file)
--- a/
net/sched/sch_choke.c
+++ b/
net/sched/sch_choke.c
@@
-391,12
+391,7
@@
static const struct nla_policy choke_policy[TCA_CHOKE_MAX + 1] = {
static void choke_free(void *addr)
{
- if (addr) {
- if (is_vmalloc_addr(addr))
- vfree(addr);
- else
- kfree(addr);
- }
+ kvfree(addr);
}
static int choke_change(struct Qdisc *sch, struct nlattr *opt)