datapath: Use kmem_cache_free() instead of kfree()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 8 Jan 2014 14:07:52 +0000 (06:07 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 8 Jan 2014 14:07:52 +0000 (06:07 -0800)
commit5f67d45a0256558a9129d4cafd7fdca348d51290
treecb6c5b64b83a11b13f5c8f0074cb0175a7aaf563
parent89e45da9c16fd9dbed78feb74b1a55b332ba95a7
datapath: 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>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow_table.c