]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
openvswitch: Use kmem_cache_free() instead of kfree()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 8 Jan 2014 10:13:14 +0000 (18:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jan 2014 19:26:39 +0000 (14:26 -0500)
commitece37c87ab5aa65ad9c55d781c0f40092aeb49eb
treeda3bd3623cf4b60fd7b5545c08124702b3a4ab06
parent54b553e2c16001d13e0186cad2531764065f9a1b
openvswitch: Use kmem_cache_free() instead of kfree()

memory allocated by kmem_cache_alloc() should be freed using
kmem_cache_free(), not kfree().

Fixes: e298e5057006 ('openvswitch: Per cpu flow stats.')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_table.c