af_packet: fix freeing pg_vec twice on error path
authorChangli Gao <xiaosuo@gmail.com>
Tue, 7 Dec 2010 05:05:18 +0000 (05:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Dec 2010 18:43:41 +0000 (10:43 -0800)
commit920b8d913bd3d963d5c88bca160a272b71e0c95a
tree84382c9bc25de8649d2d55120ec9da5194c88b4a
parentf6dafa95d1a48f73ab4a5b0f7dc0dcb72817e051
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>
net/packet/af_packet.c