| d891a597 | 08-Oct-2024 |
Stephen Hemminger <stephen@networkplumber.org> |
raw/ifpga: fix free function mismatch in interrupt config
The raw ifpga driver redefines malloc to be opae_malloc and free to be opae_free; which is a bad idea.
This leads to case where interrupt e
raw/ifpga: fix free function mismatch in interrupt config
The raw ifpga driver redefines malloc to be opae_malloc and free to be opae_free; which is a bad idea.
This leads to case where interrupt efd array is allocated with calloc() and then passed to rte_free. The workaround is to allocate the array with rte_calloc() instead.
Fixes: d61138d4f0e2 ("drivers: remove direct access to interrupt handle") Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com> Acked-by: Wathsala Vithanage <wathsala.vithanage@arm.com>
show more ...
|