Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ena/base: fix metrics excessive memory consumption
[ upstream commit c8a1898 ] The driver accidentally allocates a huge memory buffer for the customer metrics because it uses an uninitialized variable for the buffer length. This can lead to excessive memory footprint for the driver which can even fail to initialize in case of insufficient memory. Bugzilla ID: 1400 Fixes: f73f53f ("net/ena: upgrade HAL") Cc: [email protected] Signed-off-by: Shai Brandes <[email protected]> Reviewed-by: Amit Bernstein <[email protected]>
- Loading branch information