projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6dafa9
)
af_packet: fix freeing pg_vec twice on error path
author
Changli Gao
<xiaosuo@gmail.com>
Tue, 7 Dec 2010 05:05:18 +0000
(
05:05
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 8 Dec 2010 18:43:41 +0000
(10:43 -0800)
It is introduced in:
commit
0e3125c755445664f00ad036e4fc2cd32fd52877
Author: Neil Horman <nhorman@tuxdriver.com>
Date: Tue Nov 16 10:26:47 2010 -0800
packet: Enhance AF_PACKET implementation to not require high order contiguous memory allocation (v4)
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c
patch
|
blob
|
blame
|
history
diff --git
a/net/packet/af_packet.c
b/net/packet/af_packet.c
index 9292ec93eb52048e92ec0fd68568b5594130c804..246a04a1323483467158b1003abba9f88a03cb1f 100644
(file)
--- a/
net/packet/af_packet.c
+++ b/
net/packet/af_packet.c
@@
-2409,7
+2409,6
@@
out:
out_free_pgvec:
free_pg_vec(pg_vec, order, block_nr);
- kfree(pg_vec);
pg_vec = NULL;
goto out;
}