projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use the new API kvfree()
[cascardo/linux.git]
/
net
/
sched
/
sch_fq.c
diff --git
a/net/sched/sch_fq.c
b/net/sched/sch_fq.c
index
23c682b
..
ba32c2b
100644
(file)
--- a/
net/sched/sch_fq.c
+++ b/
net/sched/sch_fq.c
@@
-591,10
+591,7
@@
static void *fq_alloc_node(size_t sz, int node)
static void fq_free(void *addr)
{
- if (addr && is_vmalloc_addr(addr))
- vfree(addr);
- else
- kfree(addr);
+ kvfree(addr);
}
static int fq_resize(struct Qdisc *sch, u32 log)