diff options
Diffstat (limited to 'net/openvswitch/flow_table.c')
-rw-r--r-- | net/openvswitch/flow_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c index b430d42b2d0f..c58a0fe3c889 100644 --- a/net/openvswitch/flow_table.c +++ b/net/openvswitch/flow_table.c | |||
@@ -104,7 +104,7 @@ struct sw_flow *ovs_flow_alloc(bool percpu_stats) | |||
104 | } | 104 | } |
105 | return flow; | 105 | return flow; |
106 | err: | 106 | err: |
107 | kfree(flow); | 107 | kmem_cache_free(flow_cache, flow); |
108 | return ERR_PTR(-ENOMEM); | 108 | return ERR_PTR(-ENOMEM); |
109 | } | 109 | } |
110 | 110 | ||