diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-12-07 05:05:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-08 10:43:41 -0800 |
commit | 920b8d913bd3d963d5c88bca160a272b71e0c95a (patch) | |
tree | 84382c9bc25de8649d2d55120ec9da5194c88b4a /net | |
parent | f6dafa95d1a48f73ab4a5b0f7dc0dcb72817e051 (diff) | |
download | linux-3.10-920b8d913bd3d963d5c88bca160a272b71e0c95a.tar.gz linux-3.10-920b8d913bd3d963d5c88bca160a272b71e0c95a.tar.bz2 linux-3.10-920b8d913bd3d963d5c88bca160a272b71e0c95a.zip |
af_packet: fix freeing pg_vec twice on error path
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/packet/af_packet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 9292ec93eb5..246a04a1323 100644 --- 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; } |