Skip to content
Commit 22db4c24 authored by Denis Efremov's avatar Denis Efremov Committed by Saeed Mahameed
Browse files

net/mlx5e: IPsec: Use kvfree() for memory allocated with kvzalloc()

Variables flow_group_in, spec in rx_fs_create() are allocated with
kvzalloc(). It's incorrect to free them with kfree(). Use kvfree()
instead.

Fixes: 5e466345

 ("net/mlx5e: IPsec: Add IPsec steering in local NIC RX")
Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 670c239a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment