[ovs-dev] [PATCH -next] openvswitch: Use kmem_cache_free() instead of kfree()

Jesse Gross jesse at nicira.com
Wed Jan 8 14:17:11 UTC 2014


On Wed, Jan 8, 2014 at 5:13 AM, Wei Yongjun <weiyj.lk at gmail.com> wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> 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 at trendmicro.com.cn>

Good catch, thanks.

I'll let David pick this up directly since I just flushed my patch queue.

Acked-by: Jesse Gross <jesse at nicira.com>



More information about the dev mailing list